#AB5151#AB5151
#AB5151 is a mid, moderate red. Relative luminance 0.151; OKLCH L 54.7% C 0.119 H 21.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AB5151 |
|---|---|
| RGB | rgb(171, 81, 81) |
| HSL | hsl(0, 36%, 49%) |
| HSV | hsv(0, 53%, 67%) |
| CMYK | cmyk(0%, 52.6%, 52.6%, 32.9%) |
| CIE-LAB | lab(45.82, 36.86, 17.62) |
| CIE-LCH | lch(45.82, 40.85, 25.55°) |
| OKLab | oklab(54.71% 0.1101 0.0439) |
| OKLCH | oklch(54.71% 0.119 21.7) |
| XYZ | xyz(21.2238, 15.1392, 9.5875) |
| Luminance | 0.1514 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 3.28
Dull Red
#BB3F3F
ΔE00 5.45
Light Maroon
#A24857
ΔE00 5.94
Dark Rose
#B5485D
ΔE00 6.15
Reddish
#C44240
ΔE00 6.39
Dark Salmon
#C85A53
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB5151 #51ABAB
analogous
#AB517E #AB5151 #AB7E51
triadic
#AB5151 #51AB51 #5151AB
tetradic
#AB5151 #7EAB51 #51ABAB #7E51AB
square
#AB5151 #7EAB51 #51ABAB #7E51AB
split-complementary
#AB5151 #51AB7E #517EAB
monochromatic
#582A2A #813D3D #AB5151 #C07979 #D3A3A3
Accessibility & contrast
On white
5.21
#AB5151 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#AB5151 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB5151
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB5151 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB5151 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#666150
Deuteranopia (green-blind)
#7C744F
Tritanopia (blue-blind)
#BA4352
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #ab5151; /* rgb */ color: rgb(171, 81, 81); /* oklch */ color: oklch(54.7% 0.119 21.7);
Tailwind
colors: {
custom: {
50: '#c88481',
500: '#ab5151',
950: '#000000',
},
}SCSS
$custom: #ab5151; $custom-light: #c88481; $custom-dark: #000000;
JSON
{
"hex": "#ab5151",
"rgb": {
"r": 171,
"g": 81,
"b": 81
},
"hsl": {
"h": 0,
"s": 35.714,
"l": 49.412
},
"oklch": {
"l": 0.5471,
"c": 0.11855,
"h": 21.7
},
"luminance": 0.15137
}Semantic roles & 50–950 ramp
primary
#AB5151
secondary
#97C1C1
accent
#CCCC5C
background
#FCF8F7
surface
#F9EFEE
border
#D2CAC9
text
#140B0A
muted
#827C7C