#CD2EA0
#cd2ea0 ≈ Medium Violet Red
#cd2ea0 属于品红系颜色(明度:中等,饱和度:较高)。 在 RGB 模型中,它由 80.39% 红、18.04% 绿和 62.75% 蓝组成;采用 CMYK 印刷时需要 0% 青、77.56% 品红、21.95% 黄和 19.61% 黑。 在 HSL 中,它的色相角为 316.98°,饱和度为 63.35%,明度为 49.22%。 它介于冷暖之间,常让人联想到创意、大胆和个性。 设计师常把它用于美妆和化妆品、创意工作室和品牌点缀色。 在此颜色上使用白色文字时,对比度为 4.67:1(WCAG AA)。 最接近的命名颜色是 Medium Violet Red(#c71585),ΔE 为 5.49。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #cc3399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.1747 |
暗调
#cd2ea0 逐步混入黑色。
亮调
#cd2ea0 逐步混入白色。
灰调
#cd2ea0 逐步混入灰色。
清晰易读的文字
4.67:1
AA ✓
AA Large ✓
AAA ✕
AAA Large ✓
清晰易读的文字
4.49:1
AA ✕
AA Large ✓
AAA ✕
AAA Large ✕
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-cd2ea0 {
color: #cd2ea0;
}
背景
.bg-cd2ea0 {
background-color: #cd2ea0;
color: #ffffff;
}
边框
.border-cd2ea0 {
border: 2px solid #cd2ea0;
}
CSS 变量
:root {
--color-primary: #cd2ea0;
--color-primary-rgb: 205 46 160;
--color-primary-hsl: 317 63% 49%;
}
渐变
.gradient-cd2ea0 {
background: linear-gradient(135deg, #cd2ea0, #cd2e51);
}
彩色阴影
.shadow-cd2ea0 {
box-shadow: 0 8px 24px rgb(205 46 160 / 0.35);
}
Medium Violet Red
#cd2ea0 rgb(205, 46, 160) hsl(317, 63%, 49%) Medium Violet Red
#2ecd5b rgb(46, 205, 91) hsl(137, 63%, 49%) Malachite
#a0cd2e rgb(160, 205, 46) hsl(77, 63%, 49%) Yellow Green
#2ea0cd rgb(46, 160, 205) hsl(197, 63%, 49%) Carolina Blue