#AB4B8A#AB4B8A
#AB4B8A is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.7% C 0.146 H 342.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4B8A |
|---|---|
| RGB | rgb(171, 75, 138) |
| HSL | hsl(321, 39%, 48%) |
| HSV | hsv(321, 56%, 67%) |
| CMYK | cmyk(0%, 56.1%, 19.3%, 32.9%) |
| CIE-LAB | lab(46.35, 46.84, -16.23) |
| CIE-LCH | lch(46.35, 49.58, 340.89°) |
| OKLab | oklab(55.65% 0.1395 -0.0432) |
| OKLCH | oklch(55.65% 0.146 342.8) |
| XYZ | xyz(23.8986, 15.5271, 25.7782) |
| Luminance | 0.1552 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.30
Purpleish
#98568D
ΔE00 4.73
Purplish
#94568C
ΔE00 5.49
Ugly Purple
#A442A0
ΔE00 6.70
Mediumvioletred
#C71585
ΔE00 7.07
Medium Purple
#9E43A2
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4B8A #4BAB6C
analogous
#9C4BAB #AB4B8A #AB4B5A
triadic
#AB4B8A #8AAB4B #4B8AAB
tetradic
#AB4B8A #AB9C4B #4BAB6C #4B5AAB
square
#AB4B8A #AB9C4B #4BAB6C #4B5AAB
split-complementary
#AB4B8A #5AAB4B #4BAB9C
monochromatic
#562645 #803868 #AB4B8A #C172A6 #D49DC1
Accessibility & contrast
On white
5.12
#AB4B8A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#AB4B8A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4B8A
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4B8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4B8A | 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)
#52648C
Deuteranopia (green-blind)
#6D7488
Tritanopia (blue-blind)
#B54B64
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #ab4b8a; /* rgb */ color: rgb(171, 75, 138); /* oklch */ color: oklch(55.7% 0.146 342.8);
Tailwind
colors: {
custom: {
50: '#c782ac',
500: '#ab4b8a',
950: '#000000',
},
}SCSS
$custom: #ab4b8a; $custom-light: #c782ac; $custom-dark: #000000;
JSON
{
"hex": "#ab4b8a",
"rgb": {
"r": 171,
"g": 75,
"b": 138
},
"hsl": {
"h": 320.625,
"s": 39.024,
"l": 48.235
},
"oklch": {
"l": 0.55652,
"c": 0.14605,
"h": 342.8
},
"luminance": 0.15525
}Semantic roles & 50–950 ramp
primary
#AB4B8A
secondary
#91C0A2
accent
#CF8159
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F