#ED2F4E
#ed2f4e ≈ Amaranth
#ed2f4e 属于红系颜色(明度:中等,饱和度:较高)。 在 RGB 模型中,它由 92.94% 红、18.43% 绿和 30.59% 蓝组成;采用 CMYK 印刷时需要 0% 青、80.17% 品红、67.09% 黄和 7.06% 黑。 在 HSL 中,它的色相角为 350.21°,饱和度为 84.07%,明度为 55.69%。 这是一种暖色,常让人联想到活力、热情和紧迫感。 设计师常把它用于食品品牌和餐厅、促销和优惠和行动号召按钮。 在此颜色上使用黑色文字时,对比度为 5.12:1(WCAG AA)。 最接近的命名颜色是 Amaranth(#e52b50),ΔE 为 2.46。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #ff3366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.2059 |
暗调
#ed2f4e 逐步混入黑色。
亮调
#ed2f4e 逐步混入白色。
灰调
#ed2f4e 逐步混入灰色。
清晰易读的文字
4.1:1
AA ✕
AA Large ✓
AAA ✕
AAA Large ✕
清晰易读的文字
5.12:1
AA ✓
AA Large ✓
AAA ✕
AAA Large ✓
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-ed2f4e {
color: #ed2f4e;
}
背景
.bg-ed2f4e {
background-color: #ed2f4e;
color: #000000;
}
边框
.border-ed2f4e {
border: 2px solid #ed2f4e;
}
CSS 变量
:root {
--color-primary: #ed2f4e;
--color-primary-rgb: 237 47 78;
--color-primary-hsl: 350 84% 56%;
}
渐变
.gradient-ed2f4e {
background: linear-gradient(135deg, #ed2f4e, #ed6f2f);
}
彩色阴影
.shadow-ed2f4e {
box-shadow: 0 8px 24px rgb(237 47 78 / 0.35);
}
Amaranth
#ed2f4e rgb(237, 47, 78) hsl(350, 84%, 56%) Amaranth
#2fedce rgb(47, 237, 206) hsl(170, 84%, 56%) Turquoise
#4eed2f rgb(78, 237, 47) hsl(110, 84%, 56%) Neon Green
#2f4eed rgb(47, 78, 237) hsl(230, 84%, 56%) Majorelle Blue