#7E2A4E
#7e2a4e ≈ Pansy Purple
#7e2a4e 属于玫红系颜色(明度:较低,饱和度:中等)。 在 RGB 模型中,它由 49.41% 红、16.47% 绿和 30.59% 蓝组成;采用 CMYK 印刷时需要 0% 青、66.67% 品红、38.1% 黄和 50.59% 黑。 在 HSL 中,它的色相角为 334.29°,饱和度为 50%,明度为 32.94%。 这是一种暖色,常让人联想到浪漫、俏皮和爱意。 设计师常把它用于食品品牌和餐厅、促销和优惠和企业形象。 在此颜色上使用白色文字时,对比度为 9.02:1(WCAG AAA)。 最接近的命名颜色是 Pansy Purple(#78184a),ΔE 为 3.71。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #663366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.0664 |
暗调
#7e2a4e 逐步混入黑色。
亮调
#7e2a4e 逐步混入白色。
灰调
#7e2a4e 逐步混入灰色。
清晰易读的文字
9.02:1
AA ✓
AA Large ✓
AAA ✓
AAA Large ✓
清晰易读的文字
2.33:1
AA ✕
AA Large ✕
AAA ✕
AAA Large ✕
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-7e2a4e {
color: #7e2a4e;
}
背景
.bg-7e2a4e {
background-color: #7e2a4e;
color: #ffffff;
}
边框
.border-7e2a4e {
border: 2px solid #7e2a4e;
}
CSS 变量
:root {
--color-primary: #7e2a4e;
--color-primary-rgb: 126 42 78;
--color-primary-hsl: 334 50% 33%;
}
渐变
.gradient-7e2a4e {
background: linear-gradient(135deg, #7e2a4e, #7e302a);
}
彩色阴影
.shadow-7e2a4e {
box-shadow: 0 8px 24px rgb(126 42 78 / 0.35);
}
Pansy Purple
#7e2a4e rgb(126, 42, 78) hsl(334, 50%, 33%) Pansy Purple
#2a7e5a rgb(42, 126, 90) hsl(154, 50%, 33%) Viridian
#4e7e2a rgb(78, 126, 42) hsl(94, 50%, 33%) Sap Green
#2a4e7e rgb(42, 78, 126) hsl(214, 50%, 33%) Yale Blue