#AB4158#AB4158
#AB4158 is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.6% C 0.140 H 10.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4158 |
|---|---|
| RGB | rgb(171, 65, 88) |
| HSL | hsl(347, 45%, 46%) |
| HSV | hsv(347, 62%, 67%) |
| CMYK | cmyk(0%, 62%, 48.5%, 32.9%) |
| CIE-LAB | lab(42.98, 45.37, 9.42) |
| CIE-LCH | lch(42.98, 46.34, 11.74°) |
| OKLab | oklab(52.62% 0.1376 0.0243) |
| OKLCH | oklch(52.62% 0.14 10) |
| XYZ | xyz(20.4479, 13.1456, 10.6912) |
| Luminance | 0.1314 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Burgundy
#A8415B
ΔE00 1.43
Light Maroon
#A24857
ΔE00 2.40
Dark Rose
#B5485D
ΔE00 2.91
Deep Rose
#C74767
ΔE00 6.36
Dusty Red
#B9484E
ΔE00 6.87
Purplish Red
#B0054B
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4158 #41AB94
analogous
#AB418D #AB4158 #AB5F41
triadic
#AB4158 #58AB41 #4158AB
tetradic
#AB4158 #8DAB41 #41AB94 #5F41AB
square
#AB4158 #8DAB41 #41AB94 #5F41AB
split-complementary
#AB4158 #41AB5F #418DAB
monochromatic
#521F2A #7F3041 #AB4158 #C4657A #D591A0
Accessibility & contrast
On white
5.79
#AB4158 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#AB4158 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4158
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4158 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4158 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#585858
Deuteranopia (green-blind)
#736D56
Tritanopia (blue-blind)
#BA324A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ab4158; /* rgb */ color: rgb(171, 65, 88); /* oklch */ color: oklch(52.6% 0.140 10.0);
Tailwind
colors: {
custom: {
50: '#c97b87',
500: '#ab4158',
950: '#000000',
},
}SCSS
$custom: #ab4158; $custom-light: #c97b87; $custom-dark: #000000;
JSON
{
"hex": "#ab4158",
"rgb": {
"r": 171,
"g": 65,
"b": 88
},
"hsl": {
"h": 346.981,
"s": 44.915,
"l": 46.275
},
"oklch": {
"l": 0.52622,
"c": 0.13976,
"h": 10
},
"luminance": 0.13143
}Semantic roles & 50–950 ramp
primary
#AB4158
secondary
#87C1B4
accent
#D5B953
background
#FCF7F8
surface
#F9EEEF
border
#D2C9CA
text
#140A0B
muted
#827C7C