#AB5145#AB5145
#AB5145 is a mid, vivid red. Relative luminance 0.150; OKLCH L 54.5% C 0.121 H 29.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #AB5145 |
|---|---|
| RGB | rgb(171, 81, 69) |
| HSL | hsl(7, 43%, 47%) |
| HSV | hsv(7, 60%, 67%) |
| CMYK | cmyk(0%, 52.6%, 59.6%, 32.9%) |
| CIE-LAB | lab(45.60, 35.85, 24.50) |
| CIE-LCH | lch(45.60, 43.43, 34.35°) |
| OKLab | oklab(54.47% 0.1052 0.0591) |
| OKLCH | oklch(54.47% 0.121 29.3) |
| XYZ | xyz(20.8129, 14.9749, 7.4235) |
| Luminance | 0.1497 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 5.08
Reddish
#C44240
ΔE00 5.58
Dusty Red
#B9484E
ΔE00 5.88
Dark Salmon
#C85A53
ΔE00 7.11
Dark Coral
#CF524E
ΔE00 7.71
Brick
#A03623
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB5145 #459FAB
analogous
#AB456C #AB5145 #AB8445
triadic
#AB5145 #45AB51 #5145AB
tetradic
#AB5145 #6CAB45 #459FAB #8445AB
square
#AB5145 #6CAB45 #459FAB #8445AB
split-complementary
#AB5145 #45AB84 #456CAB
monochromatic
#542822 #7F3C33 #AB5145 #C3756A #D59D96
Accessibility & contrast
On white
5.26
#AB5145 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#AB5145 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB5145
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB5145 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB5145 | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#676044
Deuteranopia (green-blind)
#7D7343
Tritanopia (blue-blind)
#BB414E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #ab5145; /* rgb */ color: rgb(171, 81, 69); /* oklch */ color: oklch(54.5% 0.121 29.3);
Tailwind
colors: {
custom: {
50: '#c98479',
500: '#ab5145',
950: '#000000',
},
}SCSS
$custom: #ab5145; $custom-light: #c98479; $custom-dark: #000000;
JSON
{
"hex": "#ab5145",
"rgb": {
"r": 171,
"g": 81,
"b": 69
},
"hsl": {
"h": 7.059,
"s": 42.5,
"l": 47.059
},
"oklch": {
"l": 0.54467,
"c": 0.1207,
"h": 29.3
},
"luminance": 0.14972
}Semantic roles & 50–950 ramp
primary
#AB5145
secondary
#8BBAC0
accent
#C4D256
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#140B09
muted
#837C7B