#AB4942#AB4942
#AB4942 is a mid, vivid red. Relative luminance 0.138; OKLCH L 53.2% C 0.130 H 26.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4942 |
|---|---|
| RGB | rgb(171, 73, 66) |
| HSL | hsl(4, 44%, 46%) |
| HSV | hsv(4, 61%, 67%) |
| CMYK | cmyk(0%, 57.3%, 61.4%, 32.9%) |
| CIE-LAB | lab(43.97, 39.70, 24.21) |
| CIE-LCH | lch(43.97, 46.50, 31.38°) |
| OKLab | oklab(53.22% 0.1167 0.0582) |
| OKLCH | oklch(53.22% 0.13 26.5) |
| XYZ | xyz(20.1623, 13.8189, 6.7588) |
| Luminance | 0.1382 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.50
Dusty Red
#B9484E
ΔE00 4.66
Reddish
#C44240
ΔE00 4.89
Brown
#A52A2A
ΔE00 6.73
Brick
#A03623
ΔE00 7.30
Brownish Red
#9E3623
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4942 #42A4AB
analogous
#AB4270 #AB4942 #AB7E42
triadic
#AB4942 #42AB49 #4942AB
tetradic
#AB4942 #70AB42 #42A4AB #7E42AB
square
#AB4942 #70AB42 #42A4AB #7E42AB
split-complementary
#AB4942 #42AB7E #4270AB
monochromatic
#532320 #7F3631 #AB4942 #C46C66 #D59792
Accessibility & contrast
On white
5.58
#AB4942 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#AB4942 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4942
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4942 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4942 | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625B41
Deuteranopia (green-blind)
#7A7040
Tritanopia (blue-blind)
#BB3748
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ab4942; /* rgb */ color: rgb(171, 73, 66); /* oklch */ color: oklch(53.2% 0.130 26.5);
Tailwind
colors: {
custom: {
50: '#ca7f76',
500: '#ab4942',
950: '#000000',
},
}SCSS
$custom: #ab4942; $custom-light: #ca7f76; $custom-dark: #000000;
JSON
{
"hex": "#ab4942",
"rgb": {
"r": 171,
"g": 73,
"b": 66
},
"hsl": {
"h": 4,
"s": 44.304,
"l": 46.471
},
"oklch": {
"l": 0.53217,
"c": 0.1304,
"h": 26.5
},
"luminance": 0.13816
}Semantic roles & 50–950 ramp
primary
#AB4942
secondary
#88BDC0
accent
#CBD454
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#140A08
muted
#837C7B