#AB488E#AB488E
#AB488E is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.4% C 0.154 H 340.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #AB488E |
|---|---|
| RGB | rgb(171, 72, 142) |
| HSL | hsl(318, 41%, 48%) |
| HSV | hsv(318, 58%, 67%) |
| CMYK | cmyk(0%, 57.9%, 17%, 32.9%) |
| CIE-LAB | lab(45.97, 48.89, -19.21) |
| CIE-LCH | lch(45.97, 52.53, 338.55°) |
| OKLab | oklab(55.43% 0.1448 -0.0515) |
| OKLCH | oklch(55.43% 0.154 340.4) |
| XYZ | xyz(23.9949, 15.2476, 27.2653) |
| Luminance | 0.1525 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 4.80
Light Plum
#9D5783
ΔE00 5.30
Ugly Purple
#A442A0
ΔE00 5.37
Purplish
#94568C
ΔE00 5.50
Medium Purple
#9E43A2
ΔE00 6.58
Mediumvioletred
#C71585
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB488E #48AB65
analogous
#9748AB #AB488E #AB485C
triadic
#AB488E #8EAB48 #488EAB
tetradic
#AB488E #AB9748 #48AB65 #485CAB
square
#AB488E #AB9748 #48AB65 #485CAB
split-complementary
#AB488E #5CAB48 #48AB97
monochromatic
#552446 #80366A #AB488E #C26EA9 #D499C3
Accessibility & contrast
On white
5.19
#AB488E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#AB488E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB488E
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB488E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB488E | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D6390
Deuteranopia (green-blind)
#6A738B
Tritanopia (blue-blind)
#B44A65
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ab488e; /* rgb */ color: rgb(171, 72, 142); /* oklch */ color: oklch(55.4% 0.154 340.4);
Tailwind
colors: {
custom: {
50: '#c780af',
500: '#ab488e',
950: '#000000',
},
}SCSS
$custom: #ab488e; $custom-light: #c780af; $custom-dark: #000000;
JSON
{
"hex": "#ab488e",
"rgb": {
"r": 171,
"g": 72,
"b": 142
},
"hsl": {
"h": 317.576,
"s": 40.741,
"l": 47.647
},
"oklch": {
"l": 0.55426,
"c": 0.15366,
"h": 340.4
},
"luminance": 0.15246
}Semantic roles & 50–950 ramp
primary
#AB488E
secondary
#8EC09D
accent
#D17B57
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F