#AB4C8A#AB4C8A
#AB4C8A is a mid, vivid pink. Relative luminance 0.157; OKLCH L 55.8% C 0.144 H 342.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4C8A |
|---|---|
| RGB | rgb(171, 76, 138) |
| HSL | hsl(321, 38%, 48%) |
| HSV | hsv(321, 56%, 67%) |
| CMYK | cmyk(0%, 55.6%, 19.3%, 32.9%) |
| CIE-LAB | lab(46.53, 46.36, -15.95) |
| CIE-LCH | lch(46.53, 49.03, 341.01°) |
| OKLab | oklab(55.79% 0.138 -0.0425) |
| OKLCH | oklch(55.79% 0.144 342.9) |
| XYZ | xyz(23.9670, 15.6638, 25.8010) |
| Luminance | 0.1566 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.13
Purpleish
#98568D
ΔE00 4.67
Purplish
#94568C
ΔE00 5.44
Ugly Purple
#A442A0
ΔE00 6.86
Mediumvioletred
#C71585
ΔE00 7.23
Light Eggplant
#894585
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4C8A #4CAB6D
analogous
#9C4CAB #AB4C8A #AB4C5A
triadic
#AB4C8A #8AAB4C #4C8AAB
tetradic
#AB4C8A #AB9C4C #4CAB6D #4C5AAB
square
#AB4C8A #AB9C4C #4CAB6D #4C5AAB
split-complementary
#AB4C8A #5AAB4C #4CAB9C
monochromatic
#562646 #813968 #AB4C8A #C173A6 #D49EC1
Accessibility & contrast
On white
5.08
#AB4C8A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#AB4C8A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4C8A
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4C8A | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#53648C
Deuteranopia (green-blind)
#6D7488
Tritanopia (blue-blind)
#B54C65
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #ab4c8a; /* rgb */ color: rgb(171, 76, 138); /* oklch */ color: oklch(55.8% 0.144 342.9);
Tailwind
colors: {
custom: {
50: '#c682ac',
500: '#ab4c8a',
950: '#000000',
},
}SCSS
$custom: #ab4c8a; $custom-light: #c682ac; $custom-dark: #000000;
JSON
{
"hex": "#ab4c8a",
"rgb": {
"r": 171,
"g": 76,
"b": 138
},
"hsl": {
"h": 320.842,
"s": 38.462,
"l": 48.431
},
"oklch": {
"l": 0.55788,
"c": 0.14443,
"h": 342.9
},
"luminance": 0.15662
}Semantic roles & 50–950 ramp
primary
#AB4C8A
secondary
#92C0A2
accent
#CE8259
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F