#CD147E
#cd147e ≈ Medium Violet Red
#cd147e 属于玫红系颜色(明度:中等,饱和度:较高)。 在 RGB 模型中,它由 80.39% 红、7.84% 绿和 49.41% 蓝组成;采用 CMYK 印刷时需要 0% 青、90.24% 品红、38.54% 黄和 19.61% 黑。 在 HSL 中,它的色相角为 325.62°,饱和度为 82.22%,明度为 44.12%。 它介于冷暖之间,常让人联想到浪漫、俏皮和爱意。 设计师常把它用于食品品牌和餐厅、促销和优惠和行动号召按钮。 在此颜色上使用白色文字时,对比度为 5.25:1(WCAG AA)。 最接近的命名颜色是 Medium Violet Red(#c71585),ΔE 为 2.39。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #cc0066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.1499 |
暗调
#cd147e 逐步混入黑色。
亮调
#cd147e 逐步混入白色。
灰调
#cd147e 逐步混入灰色。
清晰易读的文字
5.25:1
AA ✓
AA Large ✓
AAA ✕
AAA Large ✓
清晰易读的文字
4:1
AA ✕
AA Large ✓
AAA ✕
AAA Large ✕
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-cd147e {
color: #cd147e;
}
背景
.bg-cd147e {
background-color: #cd147e;
color: #ffffff;
}
边框
.border-cd147e {
border: 2px solid #cd147e;
}
CSS 变量
:root {
--color-primary: #cd147e;
--color-primary-rgb: 205 20 126;
--color-primary-hsl: 326 82% 44%;
}
渐变
.gradient-cd147e {
background: linear-gradient(135deg, #cd147e, #cd1422);
}
彩色阴影
.shadow-cd147e {
box-shadow: 0 8px 24px rgb(205 20 126 / 0.35);
}
Medium Violet Red
#cd147e rgb(205, 20, 126) hsl(326, 82%, 44%) Medium Violet Red
#14cd63 rgb(20, 205, 99) hsl(146, 82%, 44%) Emerald
#7ecd14 rgb(126, 205, 20) hsl(86, 82%, 44%) Yellow Green
#147ecd rgb(20, 126, 205) hsl(206, 82%, 44%) Tufts Blue