#BA2E89
#ba2e89 ≈ Medium Violet Red
#ba2e89 属于玫红系颜色(明度:中等,饱和度:较高)。 在 RGB 模型中,它由 72.94% 红、18.04% 绿和 53.73% 蓝组成;采用 CMYK 印刷时需要 0% 青、75.27% 品红、26.34% 黄和 27.06% 黑。 在 HSL 中,它的色相角为 321°,饱和度为 60.34%,明度为 45.49%。 它介于冷暖之间,常让人联想到浪漫、俏皮和爱意。 设计师常把它用于食品品牌和餐厅、促销和优惠和品牌点缀色。 在此颜色上使用白色文字时,对比度为 5.47:1(WCAG AA)。 最接近的命名颜色是 Medium Violet Red(#c71585),ΔE 为 2.69。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #cc3399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.142 |
暗调
#ba2e89 逐步混入黑色。
亮调
#ba2e89 逐步混入白色。
灰调
#ba2e89 逐步混入灰色。
清晰易读的文字
5.47:1
AA ✓
AA Large ✓
AAA ✕
AAA Large ✓
清晰易读的文字
3.84:1
AA ✕
AA Large ✓
AAA ✕
AAA Large ✕
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-ba2e89 {
color: #ba2e89;
}
背景
.bg-ba2e89 {
background-color: #ba2e89;
color: #ffffff;
}
边框
.border-ba2e89 {
border: 2px solid #ba2e89;
}
CSS 变量
:root {
--color-primary: #ba2e89;
--color-primary-rgb: 186 46 137;
--color-primary-hsl: 321 60% 45%;
}
渐变
.gradient-ba2e89 {
background: linear-gradient(135deg, #ba2e89, #ba2e43);
}
彩色阴影
.shadow-ba2e89 {
box-shadow: 0 8px 24px rgb(186 46 137 / 0.35);
}
Medium Violet Red
#ba2e89 rgb(186, 46, 137) hsl(321, 60%, 45%) Medium Violet Red
#2eba5f rgb(46, 186, 95) hsl(141, 60%, 45%) Medium Sea Green
#89ba2e rgb(137, 186, 46) hsl(81, 60%, 45%) Apple Green
#2e89ba rgb(46, 137, 186) hsl(201, 60%, 45%) Steel Blue