#AB4C8F#AB4C8F
#AB4C8F is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.0% C 0.148 H 340.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4C8F |
|---|---|
| RGB | rgb(171, 76, 143) |
| HSL | hsl(318, 38%, 48%) |
| HSV | hsv(318, 56%, 67%) |
| CMYK | cmyk(0%, 55.6%, 16.4%, 32.9%) |
| CIE-LAB | lab(46.73, 47.13, -18.66) |
| CIE-LCH | lch(46.73, 50.69, 338.40°) |
| OKLab | oklab(56% 0.1393 -0.05) |
| OKLCH | oklch(56% 0.148 340.2) |
| XYZ | xyz(24.3374, 15.8119, 27.7515) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 4.36
Light Plum
#9D5783
ΔE00 4.75
Purplish
#94568C
ΔE00 5.14
Ugly Purple
#A442A0
ΔE00 5.78
Medium Purple
#9E43A2
ΔE00 6.95
Mediumvioletred
#C71585
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4C8F #4CAB68
analogous
#974CAB #AB4C8F #AB4C5F
triadic
#AB4C8F #8FAB4C #4C8FAB
tetradic
#AB4C8F #AB974C #4CAB68 #4C5FAB
square
#AB4C8F #AB974C #4CAB68 #4C5FAB
split-complementary
#AB4C8F #5FAB4C #4CAB97
monochromatic
#562648 #81396C #AB4C8F #C173AA #D49EC4
Accessibility & contrast
On white
5.05
#AB4C8F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#AB4C8F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4C8F
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4C8F | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#516591
Deuteranopia (green-blind)
#6C748D
Tritanopia (blue-blind)
#B44E67
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ab4c8f; /* rgb */ color: rgb(171, 76, 143); /* oklch */ color: oklch(56.0% 0.148 340.2);
Tailwind
colors: {
custom: {
50: '#c682b0',
500: '#ab4c8f',
950: '#000000',
},
}SCSS
$custom: #ab4c8f; $custom-light: #c682b0; $custom-dark: #000000;
JSON
{
"hex": "#ab4c8f",
"rgb": {
"r": 171,
"g": 76,
"b": 143
},
"hsl": {
"h": 317.684,
"s": 38.462,
"l": 48.431
},
"oklch": {
"l": 0.55998,
"c": 0.14798,
"h": 340.2
},
"luminance": 0.1581
}Semantic roles & 50–950 ramp
primary
#AB4C8F
secondary
#92C0A0
accent
#CE7C59
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F