#AB5166#AB5166
#AB5166 is a mid, moderate red. Relative luminance 0.155; OKLCH L 55.2% C 0.119 H 7.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #AB5166 |
|---|---|
| RGB | rgb(171, 81, 102) |
| HSL | hsl(346, 36%, 49%) |
| HSV | hsv(346, 53%, 67%) |
| CMYK | cmyk(0%, 52.6%, 40.4%, 32.9%) |
| CIE-LAB | lab(46.32, 39.02, 5.56) |
| CIE-LCH | lch(46.32, 39.41, 8.11°) |
| OKLab | oklab(55.24% 0.1186 0.0148) |
| OKLCH | oklch(55.24% 0.119 7.1) |
| XYZ | xyz(22.1366, 15.5043, 14.3946) |
| Luminance | 0.1550 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 3.47
Light Burgundy
#A8415B
ΔE00 4.06
Light Maroon
#A24857
ΔE00 4.09
Deep Rose
#C74767
ΔE00 5.53
Dark Pink
#CB416B
ΔE00 6.35
Dusky Rose
#BA6873
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB5166 #51AB96
analogous
#AB5193 #AB5166 #AB6951
triadic
#AB5166 #66AB51 #5166AB
tetradic
#AB5166 #93AB51 #51AB96 #6951AB
square
#AB5166 #93AB51 #51AB96 #6951AB
split-complementary
#AB5166 #51AB69 #5193AB
monochromatic
#582A34 #813D4D #AB5166 #C0798A #D3A3AE
Accessibility & contrast
On white
5.12
#AB5166 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#AB5166 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB5166
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB5166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB5166 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#626366
Deuteranopia (green-blind)
#797464
Tritanopia (blue-blind)
#B84859
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #ab5166; /* rgb */ color: rgb(171, 81, 102); /* oklch */ color: oklch(55.2% 0.119 7.1);
Tailwind
colors: {
custom: {
50: '#c78591',
500: '#ab5166',
950: '#000000',
},
}SCSS
$custom: #ab5166; $custom-light: #c78591; $custom-dark: #000000;
JSON
{
"hex": "#ab5166",
"rgb": {
"r": 171,
"g": 81,
"b": 102
},
"hsl": {
"h": 346,
"s": 35.714,
"l": 49.412
},
"oklch": {
"l": 0.55244,
"c": 0.11947,
"h": 7.1
},
"luminance": 0.15502
}Semantic roles & 50–950 ramp
primary
#AB5166
secondary
#97C1B7
accent
#CCB25C
background
#FCF8F8
surface
#F9EFF0
border
#D2CACB
text
#130B0C
muted
#827C7D