#AF222B#AF222B
#AF222B is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.2% C 0.176 H 23.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AF222B |
|---|---|
| RGB | rgb(175, 34, 43) |
| HSL | hsl(356, 67%, 41%) |
| HSV | hsv(356, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 75.4%, 31.4%) |
| CIE-LAB | lab(38.61, 55.35, 31.71) |
| CIE-LCH | lch(38.61, 63.79, 29.81°) |
| OKLab | oklab(49.23% 0.1609 0.071) |
| OKLCH | oklch(49.23% 0.176 23.8) |
| XYZ | xyz(18.6895, 10.4354, 3.3152) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.04
Firebrick
#B22222
ΔE00 2.86
Lipstick Red
#C0022F
ΔE00 3.55
Scarlet
#BE0119
ΔE00 4.60
Cardinal
#C41E3A
ΔE00 5.17
Carmine
#9D0216
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF222B #22AFA6
analogous
#AF2271 #AF222B #AF5F22
triadic
#AF222B #2BAF22 #222BAF
tetradic
#AF222B #71AF22 #22AFA6 #5F22AF
square
#AF222B #71AF22 #22AFA6 #5F22AF
split-complementary
#AF222B #22AF5F #2271AF
monochromatic
#490E12 #7C181E #AF222B #D83641 #E26971
Accessibility & contrast
On white
6.80
#AF222B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#AF222B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF222B
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF222B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF222B | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E482A
Deuteranopia (green-blind)
#716626
Tritanopia (blue-blind)
#C10027
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #af222b; /* rgb */ color: rgb(175, 34, 43); /* oklch */ color: oklch(49.2% 0.176 23.8);
Tailwind
colors: {
custom: {
50: '#d06c64',
500: '#af222b',
950: '#000000',
},
}SCSS
$custom: #af222b; $custom-light: #d06c64; $custom-dark: #000000;
JSON
{
"hex": "#af222b",
"rgb": {
"r": 175,
"g": 34,
"b": 43
},
"hsl": {
"h": 356.17,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.49228,
"c": 0.17589,
"h": 23.8
},
"luminance": 0.10432
}Semantic roles & 50–950 ramp
primary
#AF222B
secondary
#65C8C1
accent
#EADF3D
background
#FEF6F6
surface
#FCECEB
border
#D5C7C6
text
#160805
muted
#847A7A