#AB402E#AB402E
#AB402E is a mid, vivid red. Relative luminance 0.125; OKLCH L 51.7% C 0.144 H 31.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #AB402E |
|---|---|
| RGB | rgb(171, 64, 46) |
| HSL | hsl(9, 58%, 43%) |
| HSV | hsv(9, 73%, 67%) |
| CMYK | cmyk(0%, 62.6%, 73.1%, 32.9%) |
| CIE-LAB | lab(42.04, 42.82, 33.61) |
| CIE-LCH | lch(42.04, 54.43, 38.13°) |
| OKLab | oklab(51.66% 0.1226 0.0761) |
| OKLCH | oklch(51.66% 0.144 31.8) |
| XYZ | xyz(19.1231, 12.5246, 3.9948) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 3.42
Brownish Red
#9E3623
ΔE00 3.72
Firebrick
#B22222
ΔE00 5.06
Rusty Red
#AF2F0D
ΔE00 5.65
Brown
#A52A2A
ΔE00 5.68
Dull Red
#BB3F3F
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB402E #2E99AB
analogous
#AB2E5A #AB402E #AB7F2E
triadic
#AB402E #2EAB40 #402EAB
tetradic
#AB402E #5AAB2E #2E99AB #7F2EAB
square
#AB402E #5AAB2E #2E99AB #7F2EAB
split-complementary
#AB402E #2EAB7F #2E5AAB
monochromatic
#4B1C14 #7B2E21 #AB402E #CE5C48 #DB8779
Accessibility & contrast
On white
5.99
#AB402E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#AB402E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB402E
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB402E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB402E | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D542C
Deuteranopia (green-blind)
#786C2B
Tritanopia (blue-blind)
#BC263C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ab402e; /* rgb */ color: rgb(171, 64, 46); /* oklch */ color: oklch(51.7% 0.144 31.8);
Tailwind
colors: {
custom: {
50: '#cb7967',
500: '#ab402e',
950: '#000000',
},
}SCSS
$custom: #ab402e; $custom-light: #cb7967; $custom-dark: #000000;
JSON
{
"hex": "#ab402e",
"rgb": {
"r": 171,
"g": 64,
"b": 46
},
"hsl": {
"h": 8.64,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.51664,
"c": 0.14428,
"h": 31.8
},
"luminance": 0.12522
}Semantic roles & 50–950 ramp
primary
#AB402E
secondary
#72B7C3
accent
#CBE147
background
#FDF7F6
surface
#FAEEEB
border
#D3C9C6
text
#150906
muted
#837B7A