#AB4E8D#AB4E8D
#AB4E8D is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.2% C 0.143 H 341.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4E8D |
|---|---|
| RGB | rgb(171, 78, 141) |
| HSL | hsl(319, 37%, 49%) |
| HSV | hsv(319, 54%, 67%) |
| CMYK | cmyk(0%, 54.4%, 17.5%, 32.9%) |
| CIE-LAB | lab(47.02, 45.84, -17.01) |
| CIE-LCH | lch(47.02, 48.89, 339.64°) |
| OKLab | oklab(56.19% 0.1359 -0.0455) |
| OKLCH | oklch(56.19% 0.143 341.5) |
| XYZ | xyz(24.3271, 16.0317, 27.0073) |
| Luminance | 0.1603 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.16
Purpleish
#98568D
ΔE00 4.32
Purplish
#94568C
ΔE00 5.14
Ugly Purple
#A442A0
ΔE00 6.55
Mediumvioletred
#C71585
ΔE00 7.67
Medium Purple
#9E43A2
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4E8D #4EAB6C
analogous
#9B4EAB #AB4E8D #AB4E5F
triadic
#AB4E8D #8DAB4E #4E8DAB
tetradic
#AB4E8D #AB9B4E #4EAB6C #4E5FAB
square
#AB4E8D #AB9B4E #4EAB6C #4E5FAB
split-complementary
#AB4E8D #5FAB4E #4EAB9B
monochromatic
#572848 #813B6A #AB4E8D #C076A8 #D4A0C3
Accessibility & contrast
On white
4.99
#AB4E8D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#AB4E8D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4E8D
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4E8D | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#54668F
Deuteranopia (green-blind)
#6E758B
Tritanopia (blue-blind)
#B44F67
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ab4e8d; /* rgb */ color: rgb(171, 78, 141); /* oklch */ color: oklch(56.2% 0.143 341.5);
Tailwind
colors: {
custom: {
50: '#c683ae',
500: '#ab4e8d',
950: '#000000',
},
}SCSS
$custom: #ab4e8d; $custom-light: #c683ae; $custom-dark: #000000;
JSON
{
"hex": "#ab4e8d",
"rgb": {
"r": 171,
"g": 78,
"b": 141
},
"hsl": {
"h": 319.355,
"s": 37.349,
"l": 48.824
},
"oklch": {
"l": 0.56186,
"c": 0.14327,
"h": 341.5
},
"luminance": 0.1603
}Semantic roles & 50–950 ramp
primary
#AB4E8D
secondary
#94C1A3
accent
#CD805A
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F