#CD158E
#cd158e ≈ Medium Violet Red
#cd158e 属于玫红系颜色(明度:中等,饱和度:较高)。 在 RGB 模型中,它由 80.39% 红、8.24% 绿和 55.69% 蓝组成;采用 CMYK 印刷时需要 0% 青、89.76% 品红、30.73% 黄和 19.61% 黑。 在 HSL 中,它的色相角为 320.54°,饱和度为 81.42%,明度为 44.31%。 它介于冷暖之间,常让人联想到浪漫、俏皮和爱意。 设计师常把它用于食品品牌和餐厅、促销和优惠和行动号召按钮。 在此颜色上使用白色文字时,对比度为 5.13:1(WCAG AA)。 最接近的命名颜色是 Medium Violet Red(#c71585),ΔE 为 1.85。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #cc0099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.1547 |
暗调
#cd158e 逐步混入黑色。
亮调
#cd158e 逐步混入白色。
灰调
#cd158e 逐步混入灰色。
清晰易读的文字
5.13:1
AA ✓
AA Large ✓
AAA ✕
AAA Large ✓
清晰易读的文字
4.09:1
AA ✕
AA Large ✓
AAA ✕
AAA Large ✕
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-cd158e {
color: #cd158e;
}
背景
.bg-cd158e {
background-color: #cd158e;
color: #ffffff;
}
边框
.border-cd158e {
border: 2px solid #cd158e;
}
CSS 变量
:root {
--color-primary: #cd158e;
--color-primary-rgb: 205 21 142;
--color-primary-hsl: 321 81% 44%;
}
渐变
.gradient-cd158e {
background: linear-gradient(135deg, #cd158e, #cd1532);
}
彩色阴影
.shadow-cd158e {
box-shadow: 0 8px 24px rgb(205 21 142 / 0.35);
}
Medium Violet Red
#cd158e rgb(205, 21, 142) hsl(321, 81%, 44%) Medium Violet Red
#15cd54 rgb(21, 205, 84) hsl(141, 81%, 44%) Malachite
#8ecd15 rgb(142, 205, 21) hsl(81, 81%, 44%) Yellow Green
#158ecd rgb(21, 142, 205) hsl(201, 81%, 44%) Steel Blue