#AB5271#AB5271
#AB5271 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 55.7% C 0.121 H 359.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #AB5271 |
|---|---|
| RGB | rgb(171, 82, 113) |
| HSL | hsl(339, 35%, 50%) |
| HSV | hsv(339, 52%, 67%) |
| CMYK | cmyk(0%, 52%, 33.9%, 32.9%) |
| CIE-LAB | lab(46.83, 39.84, -0.39) |
| CIE-LCH | lch(46.83, 39.84, 359.44°) |
| OKLab | oklab(55.73% 0.1211 -0.0005) |
| OKLCH | oklch(55.73% 0.121 359.8) |
| XYZ | xyz(22.7936, 15.8869, 17.4856) |
| Luminance | 0.1588 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.85
Dark Rose
#B5485D
ΔE00 6.36
Light Plum
#9D5783
ΔE00 6.79
Dark Pink
#CB416B
ΔE00 6.81
Deep Rose
#C74767
ΔE00 6.85
Light Maroon
#A24857
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB5271 #52AB8C
analogous
#AB529E #AB5271 #AB6052
triadic
#AB5271 #71AB52 #5271AB
tetradic
#AB5271 #9EAB52 #52AB8C #6052AB
square
#AB5271 #9EAB52 #52AB8C #6052AB
split-complementary
#AB5271 #52AB60 #529EAB
monochromatic
#582A3A #823E56 #AB5271 #C07B93 #D3A4B5
Accessibility & contrast
On white
5.03
#AB5271 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#AB5271 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB5271
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB5271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB5271 | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#606572
Deuteranopia (green-blind)
#77756F
Tritanopia (blue-blind)
#B74B5D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ab5271; /* rgb */ color: rgb(171, 82, 113); /* oklch */ color: oklch(55.7% 0.121 359.8);
Tailwind
colors: {
custom: {
50: '#c78599',
500: '#ab5271',
950: '#000000',
},
}SCSS
$custom: #ab5271; $custom-light: #c78599; $custom-dark: #000000;
JSON
{
"hex": "#ab5271",
"rgb": {
"r": 171,
"g": 82,
"b": 113
},
"hsl": {
"h": 339.101,
"s": 35.178,
"l": 49.608
},
"oklch": {
"l": 0.55728,
"c": 0.12107,
"h": 359.8
},
"luminance": 0.15885
}Semantic roles & 50–950 ramp
primary
#AB5271
secondary
#98C1B3
accent
#CBA55D
background
#FCF8F9
surface
#F8EFF2
border
#D1CACC
text
#130B0E
muted
#827C7E