#AF2B32#AF2B32
#AF2B32 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.168 H 23.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2B32 |
|---|---|
| RGB | rgb(175, 43, 50) |
| HSL | hsl(357, 61%, 43%) |
| HSV | hsv(357, 75%, 69%) |
| CMYK | cmyk(0%, 75.4%, 71.4%, 31.4%) |
| CIE-LAB | lab(39.71, 52.86, 28.75) |
| CIE-LCH | lch(39.71, 60.17, 28.54°) |
| OKLab | oklab(50.07% 0.1546 0.0661) |
| OKLCH | oklch(50.07% 0.168 23.1) |
| XYZ | xyz(19.1210, 11.0749, 4.1479) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.67
Lipstick Red
#C0022F
ΔE00 3.55
Firebrick
#B22222
ΔE00 3.93
Cardinal
#C41E3A
ΔE00 4.36
Dull Red
#BB3F3F
ΔE00 4.83
Cherry (survey)
#CF0234
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2B32 #2BAFA8
analogous
#AF2B74 #AF2B32 #AF662B
triadic
#AF2B32 #32AF2B #2B32AF
tetradic
#AF2B32 #74AF2B #2BAFA8 #662BAF
square
#AF2B32 #74AF2B #2BAFA8 #662BAF
split-complementary
#AF2B32 #2BAF66 #2B74AF
monochromatic
#4D1316 #7E1F24 #AF2B32 #D1464D #DE777C
Accessibility & contrast
On white
6.53
#AF2B32 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AF2B32 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2B32
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2B32 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2B32 | 1.00 | 6.53 | 3.21 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524B31
Deuteranopia (green-blind)
#73682E
Tritanopia (blue-blind)
#C1002F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2b32; /* rgb */ color: rgb(175, 43, 50); /* oklch */ color: oklch(50.1% 0.168 23.1);
Tailwind
colors: {
custom: {
50: '#cf6f6a',
500: '#af2b32',
950: '#000000',
},
}SCSS
$custom: #af2b32; $custom-light: #cf6f6a; $custom-dark: #000000;
JSON
{
"hex": "#af2b32",
"rgb": {
"r": 175,
"g": 43,
"b": 50
},
"hsl": {
"h": 356.818,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.5007,
"c": 0.16808,
"h": 23.1
},
"luminance": 0.11072
}Semantic roles & 50–950 ramp
primary
#AF2B32
secondary
#70C5C1
accent
#E4DB44
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A