#AF2E4A#AF2E4A
#AF2E4A is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.8% C 0.165 H 13.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E4A |
|---|---|
| RGB | rgb(175, 46, 74) |
| HSL | hsl(347, 58%, 43%) |
| HSV | hsv(347, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 57.7%, 31.4%) |
| CIE-LAB | lab(40.52, 53.26, 14.87) |
| CIE-LCH | lch(40.52, 55.30, 15.60°) |
| OKLab | oklab(50.81% 0.1606 0.037) |
| OKLCH | oklch(50.81% 0.165 13) |
| XYZ | xyz(19.8941, 11.5652, 7.6620) |
| Luminance | 0.1156 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 4.27
Rose Red
#BE013C
ΔE00 4.49
Raspberry (survey)
#B00149
ΔE00 4.62
Purplish Red
#B0054B
ΔE00 4.74
Ruby
#CA0147
ΔE00 4.85
Light Burgundy
#A8415B
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E4A #2EAF93
analogous
#AF2E8A #AF2E4A #AF522E
triadic
#AF2E4A #4AAF2E #2E4AAF
tetradic
#AF2E4A #8AAF2E #2EAF93 #522EAF
square
#AF2E4A #8AAF2E #2EAF93 #522EAF
split-complementary
#AF2E4A #2EAF52 #2E8AAF
monochromatic
#4E1521 #7F2136 #AF2E4A #D04B67 #DC7B90
Accessibility & contrast
On white
6.34
#AF2E4A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#AF2E4A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E4A
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E4A | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504F4A
Deuteranopia (green-blind)
#716947
Tritanopia (blue-blind)
#BF063A
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2e4a; /* rgb */ color: rgb(175, 46, 74); /* oklch */ color: oklch(50.8% 0.165 13.0);
Tailwind
colors: {
custom: {
50: '#cd717c',
500: '#af2e4a',
950: '#000000',
},
}SCSS
$custom: #af2e4a; $custom-light: #cd717c; $custom-dark: #000000;
JSON
{
"hex": "#af2e4a",
"rgb": {
"r": 175,
"g": 46,
"b": 74
},
"hsl": {
"h": 346.977,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.50813,
"c": 0.16485,
"h": 13
},
"luminance": 0.11562
}Semantic roles & 50–950 ramp
primary
#AF2E4A
secondary
#74C5B3
accent
#E2C046
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B