#AB402D#AB402D
#AB402D is a mid, vivid red. Relative luminance 0.125; OKLCH L 51.7% C 0.145 H 32.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #AB402D |
|---|---|
| RGB | rgb(171, 64, 45) |
| HSL | hsl(9, 58%, 42%) |
| HSV | hsv(9, 74%, 67%) |
| CMYK | cmyk(0%, 62.6%, 73.7%, 32.9%) |
| CIE-LAB | lab(42.03, 42.77, 34.16) |
| CIE-LCH | lch(42.03, 54.74, 38.61°) |
| OKLab | oklab(51.65% 0.1222 0.0771) |
| OKLCH | oklch(51.65% 0.145 32.2) |
| XYZ | xyz(19.1036, 12.5168, 3.8922) |
| Luminance | 0.1251 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 3.35
Brownish Red
#9E3623
ΔE00 3.66
Firebrick
#B22222
ΔE00 5.17
Rusty Red
#AF2F0D
ΔE00 5.39
Brown
#A52A2A
ΔE00 5.88
Dull Red
#BB3F3F
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB402D #2D98AB
analogous
#AB2D59 #AB402D #AB7F2D
triadic
#AB402D #2DAB40 #402DAB
tetradic
#AB402D #59AB2D #2D98AB #7F2DAB
square
#AB402D #59AB2D #2D98AB #7F2DAB
split-complementary
#AB402D #2DAB7F #2D59AB
monochromatic
#4A1C14 #7B2E20 #AB402D #CE5B47 #DB8677
Accessibility & contrast
On white
6.00
#AB402D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#AB402D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB402D
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB402D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB402D | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D542A
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#BC263C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ab402d; /* rgb */ color: rgb(171, 64, 45); /* oklch */ color: oklch(51.7% 0.145 32.2);
Tailwind
colors: {
custom: {
50: '#cb7967',
500: '#ab402d',
950: '#000000',
},
}SCSS
$custom: #ab402d; $custom-light: #cb7967; $custom-dark: #000000;
JSON
{
"hex": "#ab402d",
"rgb": {
"r": 171,
"g": 64,
"b": 45
},
"hsl": {
"h": 9.048,
"s": 58.333,
"l": 42.353
},
"oklch": {
"l": 0.51651,
"c": 0.14451,
"h": 32.2
},
"luminance": 0.12514
}Semantic roles & 50–950 ramp
primary
#AB402D
secondary
#71B7C3
accent
#CAE246
background
#FDF7F6
surface
#FAEEEB
border
#D3C9C6
text
#150906
muted
#837B7A