#AF2E5E#AF2E5E
#AF2E5E is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.168 H 2.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E5E |
|---|---|
| RGB | rgb(175, 46, 94) |
| HSL | hsl(338, 58%, 43%) |
| HSV | hsv(338, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 46.3%, 31.4%) |
| CIE-LAB | lab(41.02, 54.93, 2.98) |
| CIE-LCH | lch(41.02, 55.01, 3.11°) |
| OKLab | oklab(51.35% 0.1683 0.0083) |
| OKLCH | oklch(51.35% 0.168 2.8) |
| XYZ | xyz(20.6782, 11.8788, 11.7915) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.21
Deep Pink
#CB0162
ΔE00 4.85
Purplish Red
#B0054B
ΔE00 4.87
Raspberry (survey)
#B00149
ΔE00 5.31
Violet Red
#A50055
ΔE00 5.38
Berry
#990F4B
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E5E #2EAF7F
analogous
#AF2E9E #AF2E5E #AF3E2E
triadic
#AF2E5E #5EAF2E #2E5EAF
tetradic
#AF2E5E #9EAF2E #2EAF7F #3E2EAF
square
#AF2E5E #9EAF2E #2EAF7F #3E2EAF
split-complementary
#AF2E5E #2EAF3E #2E9EAF
monochromatic
#4E152A #7F2144 #AF2E5E #D04B7C #DC7B9F
Accessibility & contrast
On white
6.22
#AF2E5E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#AF2E5E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E5E
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E5E | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B515F
Deuteranopia (green-blind)
#6E6A5B
Tritanopia (blue-blind)
#BE1742
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af2e5e; /* rgb */ color: rgb(175, 46, 94); /* oklch */ color: oklch(51.4% 0.168 2.8);
Tailwind
colors: {
custom: {
50: '#cc728b',
500: '#af2e5e',
950: '#000000',
},
}SCSS
$custom: #af2e5e; $custom-light: #cc728b; $custom-dark: #000000;
JSON
{
"hex": "#af2e5e",
"rgb": {
"r": 175,
"g": 46,
"b": 94
},
"hsl": {
"h": 337.674,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.51352,
"c": 0.16845,
"h": 2.8
},
"luminance": 0.11876
}Semantic roles & 50–950 ramp
primary
#AF2E5E
secondary
#74C5A7
accent
#E2A846
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D