#AB4151#AB4151
#AB4151 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.4% C 0.139 H 14.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4151 |
|---|---|
| RGB | rgb(171, 65, 81) |
| HSL | hsl(351, 45%, 46%) |
| HSV | hsv(351, 62%, 67%) |
| CMYK | cmyk(0%, 62%, 52.6%, 32.9%) |
| CIE-LAB | lab(42.82, 44.73, 13.53) |
| CIE-LCH | lch(42.82, 46.73, 16.83°) |
| OKLab | oklab(52.44% 0.1348 0.0341) |
| OKLCH | oklch(52.44% 0.139 14.2) |
| XYZ | xyz(20.1717, 13.0351, 9.2368) |
| Luminance | 0.1303 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Maroon
#A24857
ΔE00 2.69
Dark Rose
#B5485D
ΔE00 3.43
Light Burgundy
#A8415B
ΔE00 3.73
Dusty Red
#B9484E
ΔE00 4.99
Ruby
#CA0147
ΔE00 6.90
Rose Red
#BE013C
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4151 #41AB9B
analogous
#AB4186 #AB4151 #AB6641
triadic
#AB4151 #51AB41 #4151AB
tetradic
#AB4151 #86AB41 #41AB9B #6641AB
square
#AB4151 #86AB41 #41AB9B #6641AB
split-complementary
#AB4151 #41AB66 #4186AB
monochromatic
#521F27 #7F303C #AB4151 #C46573 #D5919B
Accessibility & contrast
On white
5.82
#AB4151 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#AB4151 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4151
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4151 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4151 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595751
Deuteranopia (green-blind)
#756D4E
Tritanopia (blue-blind)
#BA3047
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ab4151; /* rgb */ color: rgb(171, 65, 81); /* oklch */ color: oklch(52.4% 0.139 14.2);
Tailwind
colors: {
custom: {
50: '#c97b81',
500: '#ab4151',
950: '#000000',
},
}SCSS
$custom: #ab4151; $custom-light: #c97b81; $custom-dark: #000000;
JSON
{
"hex": "#ab4151",
"rgb": {
"r": 171,
"g": 65,
"b": 81
},
"hsl": {
"h": 350.943,
"s": 44.915,
"l": 46.275
},
"oklch": {
"l": 0.52444,
"c": 0.13909,
"h": 14.2
},
"luminance": 0.13033
}Semantic roles & 50–950 ramp
primary
#AB4151
secondary
#87C1B8
accent
#D5C153
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C