#A22F28#A22F28
#A22F28 is a mid, vivid red. Relative luminance 0.099; OKLCH L 48.0% C 0.152 H 27.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A22F28 |
|---|---|
| RGB | rgb(162, 47, 40) |
| HSL | hsl(3, 60%, 40%) |
| HSV | hsv(3, 75%, 64%) |
| CMYK | cmyk(0%, 71%, 75.3%, 36.5%) |
| CIE-LAB | lab(37.61, 46.73, 31.66) |
| CIE-LCH | lch(37.61, 56.45, 34.12°) |
| OKLab | oklab(48.01% 0.1346 0.0711) |
| OKLCH | oklch(48.01% 0.152 27.8) |
| XYZ | xyz(16.3016, 9.8701, 3.0538) |
| Luminance | 0.0987 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.62
Firebrick
#B22222
ΔE00 3.17
Brick
#A03623
ΔE00 3.19
Brownish Red
#9E3623
ΔE00 3.22
Carmine
#9D0216
ΔE00 5.09
Scarlet
#BE0119
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22F28 #289BA2
analogous
#A2285E #A22F28 #A26C28
triadic
#A22F28 #28A22F #2F28A2
tetradic
#A22F28 #5EA228 #289BA2 #6C28A2
square
#A22F28 #5EA228 #289BA2 #6C28A2
split-complementary
#A22F28 #28A26C #285EA2
monochromatic
#401310 #71211C #A22F28 #CE4239 #DA716A
Accessibility & contrast
On white
7.06
#A22F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#A22F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A22F28
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22F28 | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504926
Deuteranopia (green-blind)
#6D6224
Tritanopia (blue-blind)
#B2042E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a22f28; /* rgb */ color: rgb(162, 47, 40); /* oklch */ color: oklch(48.0% 0.152 27.8);
Tailwind
colors: {
custom: {
50: '#c56f62',
500: '#a22f28',
950: '#000000',
},
}SCSS
$custom: #a22f28; $custom-light: #c56f62; $custom-dark: #000000;
JSON
{
"hex": "#a22f28",
"rgb": {
"r": 162,
"g": 47,
"b": 40
},
"hsl": {
"h": 3.443,
"s": 60.396,
"l": 39.608
},
"oklch": {
"l": 0.48009,
"c": 0.15224,
"h": 27.8
},
"luminance": 0.09868
}Semantic roles & 50–950 ramp
primary
#A22F28
secondary
#65BBC1
accent
#DAE444
background
#FDF7F5
surface
#FAEDEA
border
#D3C8C6
text
#140805
muted
#837B79