#AF2A22#AF2A22
#AF2A22 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.8% C 0.171 H 28.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2A22 |
|---|---|
| RGB | rgb(175, 42, 34) |
| HSL | hsl(3, 67%, 41%) |
| HSV | hsv(3, 81%, 69%) |
| CMYK | cmyk(0%, 76%, 80.6%, 31.4%) |
| CIE-LAB | lab(39.39, 52.56, 37.73) |
| CIE-LCH | lch(39.39, 64.70, 35.67°) |
| OKLab | oklab(49.77% 0.1502 0.0815) |
| OKLCH | oklch(49.77% 0.171 28.5) |
| XYZ | xyz(18.7982, 10.8884, 2.6249) |
| Luminance | 0.1089 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.34
Scarlet
#BE0119
ΔE00 3.30
Brown
#A52A2A
ΔE00 3.47
Brick
#A03623
ΔE00 3.53
Brownish Red
#9E3623
ΔE00 3.83
Darkish Red
#A90308
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2A22 #22A7AF
analogous
#AF2260 #AF2A22 #AF7022
triadic
#AF2A22 #22AF2A #2A22AF
tetradic
#AF2A22 #60AF22 #22A7AF #7022AF
square
#AF2A22 #60AF22 #22A7AF #7022AF
split-complementary
#AF2A22 #22AF70 #2260AF
monochromatic
#49110E #7C1E18 #AF2A22 #D83F36 #E27069
Accessibility & contrast
On white
6.61
#AF2A22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AF2A22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2A22
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2A22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2A22 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534A1F
Deuteranopia (green-blind)
#74671C
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2a22; /* rgb */ color: rgb(175, 42, 34); /* oklch */ color: oklch(49.8% 0.171 28.5);
Tailwind
colors: {
custom: {
50: '#d06f5e',
500: '#af2a22',
950: '#000000',
},
}SCSS
$custom: #af2a22; $custom-light: #d06f5e; $custom-dark: #000000;
JSON
{
"hex": "#af2a22",
"rgb": {
"r": 175,
"g": 42,
"b": 34
},
"hsl": {
"h": 3.404,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.49774,
"c": 0.17085,
"h": 28.5
},
"luminance": 0.10885
}Semantic roles & 50–950 ramp
primary
#AF2A22
secondary
#65C2C8
accent
#E1EA3D
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79