#CD1EA8
#cd1ea8 ≈ Medium Violet Red
#cd1ea8 属于品红系颜色(明度:中等,饱和度:较高)。 在 RGB 模型中,它由 80.39% 红、11.76% 绿和 65.88% 蓝组成;采用 CMYK 印刷时需要 0% 青、85.37% 品红、18.05% 黄和 19.61% 黑。 在 HSL 中,它的色相角为 312.69°,饱和度为 74.47%,明度为 46.08%。 它介于冷暖之间,常让人联想到创意、大胆和个性。 设计师常把它用于美妆和化妆品、创意工作室和品牌点缀色。 在此颜色上使用白色文字时,对比度为 4.83:1(WCAG AA)。 最接近的命名颜色是 Medium Violet Red(#c71585),ΔE 为 6.44。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #cc3399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.1673 |
暗调
#cd1ea8 逐步混入黑色。
亮调
#cd1ea8 逐步混入白色。
灰调
#cd1ea8 逐步混入灰色。
清晰易读的文字
4.83:1
AA ✓
AA Large ✓
AAA ✕
AAA Large ✓
清晰易读的文字
4.35:1
AA ✕
AA Large ✓
AAA ✕
AAA Large ✕
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-cd1ea8 {
color: #cd1ea8;
}
背景
.bg-cd1ea8 {
background-color: #cd1ea8;
color: #ffffff;
}
边框
.border-cd1ea8 {
border: 2px solid #cd1ea8;
}
CSS 变量
:root {
--color-primary: #cd1ea8;
--color-primary-rgb: 205 30 168;
--color-primary-hsl: 313 74% 46%;
}
渐变
.gradient-cd1ea8 {
background: linear-gradient(135deg, #cd1ea8, #cd1e50);
}
彩色阴影
.shadow-cd1ea8 {
box-shadow: 0 8px 24px rgb(205 30 168 / 0.35);
}
Medium Violet Red
#cd1ea8 rgb(205, 30, 168) hsl(313, 74%, 46%) Medium Violet Red
#1ecd43 rgb(30, 205, 67) hsl(133, 74%, 46%) Lime Green
#a8cd1e rgb(168, 205, 30) hsl(73, 74%, 46%) Yellow Green
#1ea8cd rgb(30, 168, 205) hsl(193, 74%, 46%) Bondi Blue