#AB548E#AB548E
#AB548E is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.1% C 0.134 H 341.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AB548E |
|---|---|
| RGB | rgb(171, 84, 142) |
| HSL | hsl(320, 34%, 50%) |
| HSV | hsv(320, 51%, 67%) |
| CMYK | cmyk(0%, 50.9%, 17%, 32.9%) |
| CIE-LAB | lab(48.20, 42.98, -15.81) |
| CIE-LCH | lch(48.20, 45.79, 339.81°) |
| OKLab | oklab(57.08% 0.1271 -0.0422) |
| OKLCH | oklch(57.08% 0.134 341.7) |
| XYZ | xyz(24.8478, 16.9534, 27.5496) |
| Luminance | 0.1695 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 3.56
Purpleish
#98568D
ΔE00 4.21
Purplish
#94568C
ΔE00 5.08
Ugly Purple
#A442A0
ΔE00 7.58
Dusky Purple
#895B7B
ΔE00 8.36
Medium Purple
#9E43A2
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB548E #54AB71
analogous
#9D54AB #AB548E #AB5462
triadic
#AB548E #8EAB54 #548EAB
tetradic
#AB548E #AB9D54 #54AB71 #5462AB
square
#AB548E #AB9D54 #54AB71 #5462AB
split-complementary
#AB548E #62AB54 #54AB9D
monochromatic
#592C4A #82406C #AB548E #BF7DA9 #D3A6C4
Accessibility & contrast
On white
4.78
#AB548E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#AB548E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB548E
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB548E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB548E | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#596A90
Deuteranopia (green-blind)
#71788C
Tritanopia (blue-blind)
#B4556A
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #ab548e; /* rgb */ color: rgb(171, 84, 142); /* oklch */ color: oklch(57.1% 0.134 341.7);
Tailwind
colors: {
custom: {
50: '#c687af',
500: '#ab548e',
950: '#000000',
},
}SCSS
$custom: #ab548e; $custom-light: #c687af; $custom-dark: #000000;
JSON
{
"hex": "#ab548e",
"rgb": {
"r": 171,
"g": 84,
"b": 142
},
"hsl": {
"h": 320,
"s": 34.118,
"l": 50
},
"oklch": {
"l": 0.57081,
"c": 0.13395,
"h": 341.7
},
"luminance": 0.16952
}Semantic roles & 50–950 ramp
primary
#AB548E
secondary
#9AC1A7
accent
#CA825E
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130B10
muted
#827C7F