#AF2E32#AF2E32
#AF2E32 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.165 H 23.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E32 |
|---|---|
| RGB | rgb(175, 46, 50) |
| HSL | hsl(358, 58%, 43%) |
| HSV | hsv(358, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 71.4%, 31.4%) |
| CIE-LAB | lab(40.08, 51.81, 29.20) |
| CIE-LCH | lch(40.08, 59.47, 29.40°) |
| OKLab | oklab(50.35% 0.1512 0.067) |
| OKLCH | oklch(50.35% 0.165 23.9) |
| XYZ | xyz(19.2341, 11.3012, 4.1856) |
| Luminance | 0.1130 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.59
Firebrick
#B22222
ΔE00 3.63
Lipstick Red
#C0022F
ΔE00 3.94
Dull Red
#BB3F3F
ΔE00 4.46
Cardinal
#C41E3A
ΔE00 4.61
Scarlet
#BE0119
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E32 #2EAFAB
analogous
#AF2E72 #AF2E32 #AF6B2E
triadic
#AF2E32 #32AF2E #2E32AF
tetradic
#AF2E32 #72AF2E #2EAFAB #6B2EAF
square
#AF2E32 #72AF2E #2EAFAB #6B2EAF
split-complementary
#AF2E32 #2EAF6B #2E72AF
monochromatic
#4E1516 #7F2124 #AF2E32 #D04B4F #DC7B7E
Accessibility & contrast
On white
6.44
#AF2E32 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AF2E32 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E32
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E32 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E32 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534D31
Deuteranopia (green-blind)
#74692E
Tritanopia (blue-blind)
#C10031
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2e32; /* rgb */ color: rgb(175, 46, 50); /* oklch */ color: oklch(50.4% 0.165 23.9);
Tailwind
colors: {
custom: {
50: '#cf716a',
500: '#af2e32',
950: '#000000',
},
}SCSS
$custom: #af2e32; $custom-light: #cf716a; $custom-dark: #000000;
JSON
{
"hex": "#af2e32",
"rgb": {
"r": 175,
"g": 46,
"b": 50
},
"hsl": {
"h": 358.14,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.50351,
"c": 0.16541,
"h": 23.9
},
"luminance": 0.11298
}Semantic roles & 50–950 ramp
primary
#AF2E32
secondary
#74C5C2
accent
#E2DD46
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A