#CD309E
#cd309e ≈ Medium Violet Red
#cd309e 属于品红系颜色(明度:中等,饱和度:较高)。 在 RGB 模型中,它由 80.39% 红、18.82% 绿和 61.96% 蓝组成;采用 CMYK 印刷时需要 0% 青、76.59% 品红、22.93% 黄和 19.61% 黑。 在 HSL 中,它的色相角为 317.96°,饱和度为 62.06%,明度为 49.61%。 它介于冷暖之间,常让人联想到创意、大胆和个性。 设计师常把它用于美妆和化妆品、创意工作室和品牌点缀色。 在此颜色上使用白色文字时,对比度为 4.65:1(WCAG AA)。 最接近的命名颜色是 Medium Violet Red(#c71585),ΔE 为 5.3。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #cc3399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.1756 |
暗调
#cd309e 逐步混入黑色。
亮调
#cd309e 逐步混入白色。
灰调
#cd309e 逐步混入灰色。
清晰易读的文字
4.65:1
AA ✓
AA Large ✓
AAA ✕
AAA Large ✓
清晰易读的文字
4.51:1
AA ✓
AA Large ✓
AAA ✕
AAA Large ✓
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-cd309e {
color: #cd309e;
}
背景
.bg-cd309e {
background-color: #cd309e;
color: #ffffff;
}
边框
.border-cd309e {
border: 2px solid #cd309e;
}
CSS 变量
:root {
--color-primary: #cd309e;
--color-primary-rgb: 205 48 158;
--color-primary-hsl: 318 62% 50%;
}
渐变
.gradient-cd309e {
background: linear-gradient(135deg, #cd309e, #cd3050);
}
彩色阴影
.shadow-cd309e {
box-shadow: 0 8px 24px rgb(205 48 158 / 0.35);
}
Medium Violet Red
#cd309e rgb(205, 48, 158) hsl(318, 62%, 50%) Medium Violet Red
#30cd5f rgb(48, 205, 95) hsl(138, 62%, 50%) Malachite
#9ecd30 rgb(158, 205, 48) hsl(78, 62%, 50%) Yellow Green
#309ecd rgb(48, 158, 205) hsl(198, 62%, 50%) Carolina Blue