#AF2E22#AF2E22
#AF2E22 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.1% C 0.168 H 29.5°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E22 |
|---|---|
| RGB | rgb(175, 46, 34) |
| HSL | hsl(5, 67%, 41%) |
| HSV | hsv(5, 81%, 69%) |
| CMYK | cmyk(0%, 73.7%, 80.6%, 31.4%) |
| CIE-LAB | lab(39.89, 51.17, 38.23) |
| CIE-LCH | lch(39.89, 63.87, 36.77°) |
| OKLab | oklab(50.15% 0.1458 0.0826) |
| OKLCH | oklch(50.15% 0.168 29.5) |
| XYZ | xyz(18.9472, 11.1864, 2.6746) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.17
Brick
#A03623
ΔE00 3.13
Brownish Red
#9E3623
ΔE00 3.49
Scarlet
#BE0119
ΔE00 3.78
Brown
#A52A2A
ΔE00 4.12
Rusty Red
#AF2F0D
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E22 #22A3AF
analogous
#AF225D #AF2E22 #AF7422
triadic
#AF2E22 #22AF2E #2E22AF
tetradic
#AF2E22 #5DAF22 #22A3AF #7422AF
square
#AF2E22 #5DAF22 #22A3AF #7422AF
split-complementary
#AF2E22 #22AF74 #225DAF
monochromatic
#49130E #7C2118 #AF2E22 #D84436 #E27469
Accessibility & contrast
On white
6.49
#AF2E22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#AF2E22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E22
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E22 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554C1F
Deuteranopia (green-blind)
#75681C
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2e22; /* rgb */ color: rgb(175, 46, 34); /* oklch */ color: oklch(50.1% 0.168 29.5);
Tailwind
colors: {
custom: {
50: '#d0705e',
500: '#af2e22',
950: '#000000',
},
}SCSS
$custom: #af2e22; $custom-light: #d0705e; $custom-dark: #000000;
JSON
{
"hex": "#af2e22",
"rgb": {
"r": 175,
"g": 46,
"b": 34
},
"hsl": {
"h": 5.106,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.50148,
"c": 0.16757,
"h": 29.5
},
"luminance": 0.11183
}Semantic roles & 50–950 ramp
primary
#AF2E22
secondary
#65BFC8
accent
#DCEA3D
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79