#AF222E#AF222E
#AF222E is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.176 H 22.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AF222E |
|---|---|
| RGB | rgb(175, 34, 46) |
| HSL | hsl(355, 67%, 41%) |
| HSV | hsv(355, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 73.7%, 31.4%) |
| CIE-LAB | lab(38.65, 55.48, 29.94) |
| CIE-LCH | lch(38.65, 63.04, 28.36°) |
| OKLab | oklab(49.27% 0.162 0.0679) |
| OKLCH | oklch(49.27% 0.176 22.7) |
| XYZ | xyz(18.7466, 10.4583, 3.6158) |
| Luminance | 0.1046 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.53
Lipstick Red
#C0022F
ΔE00 3.16
Firebrick
#B22222
ΔE00 3.77
Cardinal
#C41E3A
ΔE00 4.64
Scarlet
#BE0119
ΔE00 5.38
Rose Red
#BE013C
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF222E #22AFA3
analogous
#AF2274 #AF222E #AF5D22
triadic
#AF222E #2EAF22 #222EAF
tetradic
#AF222E #74AF22 #22AFA3 #5D22AF
square
#AF222E #74AF22 #22AFA3 #5D22AF
split-complementary
#AF222E #22AF5D #2274AF
monochromatic
#490E13 #7C1821 #AF222E #D83644 #E26974
Accessibility & contrast
On white
6.79
#AF222E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#AF222E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF222E
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF222E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF222E | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E482D
Deuteranopia (green-blind)
#716629
Tritanopia (blue-blind)
#C10028
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #af222e; /* rgb */ color: rgb(175, 34, 46); /* oklch */ color: oklch(49.3% 0.176 22.7);
Tailwind
colors: {
custom: {
50: '#d06c67',
500: '#af222e',
950: '#000000',
},
}SCSS
$custom: #af222e; $custom-light: #d06c67; $custom-dark: #000000;
JSON
{
"hex": "#af222e",
"rgb": {
"r": 175,
"g": 34,
"b": 46
},
"hsl": {
"h": 354.894,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.4927,
"c": 0.17562,
"h": 22.7
},
"luminance": 0.10455
}Semantic roles & 50–950 ramp
primary
#AF222E
secondary
#65C8BF
accent
#EADC3D
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#160806
muted
#847A7A