木槿粉

洗衣洗护下单 · 质量分 80 ·算法生成

查看 JSON

10 个颜色角色

每个颜色都有明确用途,点右侧按钮即可复制对应格式。

主题色 theme
小程序全局主题色(navigationBar / tabBar 选中)
#f221e7rgb(242, 33, 231)hsl(303.2, 88.9%, 53.9%)
按钮色 btn
主要按钮背景
#f221e7rgb(242, 33, 231)hsl(303.2, 88.9%, 53.9%)
按钮禁用 btnDisabled
禁用态按钮背景
#f6c0f3rgb(246, 192, 243)hsl(303.3, 75%, 85.9%)
页面背景 bg
页面 backgroundColor
#faf9fargb(250, 249, 250)hsl(300, 9.1%, 97.8%)
卡片背景 card
商品卡 / 内容卡背景
#f6f4f6rgb(246, 244, 246)hsl(300, 10%, 96.1%)
主文字 textMain
标题与正文
#292329rgb(41, 35, 41)hsl(300, 7.9%, 14.9%)
次文字 textSub
辅助说明、时间戳
#7c6a7brgb(124, 106, 123)hsl(303.3, 7.8%, 45.1%)
分割线 divider
列表分割线
#e8e3e7rgb(232, 227, 231)hsl(312, 9.8%, 90%)
价格色 price
价格 / 促销数字,通常暖色系
#e44424rgb(228, 68, 36)hsl(10, 78%, 51.8%)
标签色 tag
标签 / 优惠券底色
#d89b4frgb(216, 155, 79)hsl(33.3, 63.7%, 57.8%)

搭配建议

依据主色所属的色系与明度给出的使用建议,人工撰写,不是模板套话。

主色明度居中,兼容性最好,浅色与深色主题都容易适配。

适合做点缀时能软化整个界面,适合缓解生硬的工具感。
慎用用量过大容易甜腻,高饱和时尤其明显。
搭配与灰、白搭配不会过于甜腻,点缀一点深莓紫能增加层次。

主色色系:粉

用在真实界面里是什么样

同一套配色在三端界面里的实际效果,这是判断好不好用最快的方式。

实时预览 · 点击切换端
9:41
小程序商城•••
限时优惠全场满 99 减 20
商品名称示例规格 · 500g
¥39.9
商品名称示例规格 · 1kg
¥68.0
立即购买已售罄

无障碍对比度检查

按 WCAG 2.1 标准计算。AA 为可访问底线,AAA 为增强级别。

前景 / 背景对比度文字场景大字号场景
主文字 / 页面背景14.63:1AAAAAA
主文字 / 卡片背景14.04:1AAAAAA
主色 / 页面背景3.25:1AAAA

用检查器验证这对颜色 →

同端其他配色

按色系与标签相近度排序,挑出最值得接着看的几套。

导出到你的项目

四种格式,直接粘贴即可使用。也可用 URL 让工具/AI 自动抓取。

CSS 变量

:root { --color-theme: #f221e7; /* 主题色 */ --color-btn: #f221e7; /* 按钮色 */ --color-btnDisabled: #f6c0f3; /* 按钮禁用 */ --color-bg: #faf9fa; /* 页面背景 */ --color-card: #f6f4f6; /* 卡片背景 */ --color-textMain: #292329; /* 主文字 */ --color-textSub: #7c6a7b; /* 次文字 */ --color-divider: #e8e3e7; /* 分割线 */ --color-price: #e44424; /* 价格色 */ --color-tag: #d89b4f; /* 标签色 */ }

SCSS 变量

$color-theme: #f221e7; // 主题色 $color-btn: #f221e7; // 按钮色 $color-btnDisabled: #f6c0f3; // 按钮禁用 $color-bg: #faf9fa; // 页面背景 $color-card: #f6f4f6; // 卡片背景 $color-textMain: #292329; // 主文字 $color-textSub: #7c6a7b; // 次文字 $color-divider: #e8e3e7; // 分割线 $color-price: #e44424; // 价格色 $color-tag: #d89b4f; // 标签色

Tailwind 配置

// tailwind.config.js:木槿粉 module.exports = { theme: { extend: { colors: { 'theme': '#f221e7', 'btn': '#f221e7', 'btnDisabled': '#f6c0f3', 'bg': '#faf9fa', 'card': '#f6f4f6', 'textMain': '#292329', 'textSub': '#7c6a7b', 'divider': '#e8e3e7', 'price': '#e44424', 'tag': '#d89b4f', }, }, }, };

机器可读 JSON

{ "name": "木槿粉", "platform": "miniapp", "tags": [ "高对比", "粉" ], "advice": { "family": "粉", "depth": "主色明度居中,兼容性最好,浅色与深色主题都容易适配。", "muted": null, "suit": "做点缀时能软化整个界面,适合缓解生硬的工具感。", "avoid": "用量过大容易甜腻,高饱和时尤其明显。", "pair": "与灰、白搭配不会过于甜腻,点缀一点深莓紫能增加层次。" }, "roles": { "theme": "#f221e7", "btn": "#f221e7", "btnDisabled": "#f6c0f3", "bg": "#faf9fa", "card": "#f6f4f6", "textMain": "#292329", "textSub": "#7c6a7b", "divider": "#e8e3e7", "price": "#e44424", "tag": "#d89b4f" }, "contrast": { "textOnBg": { "ratio": 14.63, "level": "AAA" }, "primaryOnBg": { "ratio": 3.25, "level": "AA" }, "textOnSurface": { "ratio": 14.04, "level": "AAA" } } }