#AB412A#AB412A
#AB412A is a mid, vivid red. Relative luminance 0.126; OKLCH L 51.7% C 0.144 H 33.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #AB412A |
|---|---|
| RGB | rgb(171, 65, 42) |
| HSL | hsl(11, 61%, 42%) |
| HSV | hsv(11, 75%, 67%) |
| CMYK | cmyk(0%, 62%, 75.4%, 32.9%) |
| CIE-LAB | lab(42.17, 42.17, 35.99) |
| CIE-LCH | lch(42.17, 55.44, 40.48°) |
| OKLab | oklab(51.75% 0.1198 0.0804) |
| OKLCH | oklch(51.75% 0.144 33.9) |
| XYZ | xyz(19.1048, 12.6083, 3.6177) |
| Luminance | 0.1261 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 3.52
Brownish Red
#9E3623
ΔE00 3.82
Rusty Red
#AF2F0D
ΔE00 4.67
Firebrick
#B22222
ΔE00 5.89
Rust Red
#AA2704
ΔE00 5.97
Rust (survey)
#A83C09
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB412A #2A94AB
analogous
#AB2A54 #AB412A #AB822A
triadic
#AB412A #2AAB41 #412AAB
tetradic
#AB412A #54AB2A #2A94AB #822AAB
square
#AB412A #54AB2A #2A94AB #822AAB
split-complementary
#AB412A #2AAB82 #2A54AB
monochromatic
#491C12 #7A2E1E #AB412A #D15B42 #DD8673
Accessibility & contrast
On white
5.96
#AB412A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#AB412A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB412A
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB412A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB412A | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5527
Deuteranopia (green-blind)
#796C27
Tritanopia (blue-blind)
#BC273C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ab412a; /* rgb */ color: rgb(171, 65, 42); /* oklch */ color: oklch(51.7% 0.144 33.9);
Tailwind
colors: {
custom: {
50: '#cb7a65',
500: '#ab412a',
950: '#000000',
},
}SCSS
$custom: #ab412a; $custom-light: #cb7a65; $custom-dark: #000000;
JSON
{
"hex": "#ab412a",
"rgb": {
"r": 171,
"g": 65,
"b": 42
},
"hsl": {
"h": 10.698,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.51746,
"c": 0.14423,
"h": 33.9
},
"luminance": 0.12606
}Semantic roles & 50–950 ramp
primary
#AB412A
secondary
#6DB4C4
accent
#C7E444
background
#FDF7F6
surface
#FAEEEB
border
#D3C9C6
text
#150905
muted
#837B7A