#AB548F#AB548F
#AB548F is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.1% C 0.135 H 341.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AB548F |
|---|---|
| RGB | rgb(171, 84, 143) |
| HSL | hsl(319, 34%, 50%) |
| HSV | hsv(319, 51%, 67%) |
| CMYK | cmyk(0%, 50.9%, 16.4%, 32.9%) |
| CIE-LAB | lab(48.24, 43.14, -16.34) |
| CIE-LCH | lch(48.24, 46.13, 339.25°) |
| OKLab | oklab(57.12% 0.1274 -0.0437) |
| OKLCH | oklch(57.12% 0.135 341.1) |
| XYZ | xyz(24.9232, 16.9836, 27.9468) |
| Luminance | 0.1698 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 3.71
Purpleish
#98568D
ΔE00 4.13
Purplish
#94568C
ΔE00 5.01
Ugly Purple
#A442A0
ΔE00 7.39
Medium Purple
#9E43A2
ΔE00 8.44
Dusky Purple
#895B7B
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB548F #54AB70
analogous
#9B54AB #AB548F #AB5464
triadic
#AB548F #8FAB54 #548FAB
tetradic
#AB548F #AB9B54 #54AB70 #5464AB
square
#AB548F #AB9B54 #54AB70 #5464AB
split-complementary
#AB548F #64AB54 #54AB9B
monochromatic
#592C4A #82406D #AB548F #BF7DAA #D3A6C5
Accessibility & contrast
On white
4.78
#AB548F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#AB548F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB548F
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB548F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB548F | 1.00 | 4.78 | 4.40 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#596A91
Deuteranopia (green-blind)
#70788D
Tritanopia (blue-blind)
#B4556B
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #ab548f; /* rgb */ color: rgb(171, 84, 143); /* oklch */ color: oklch(57.1% 0.135 341.1);
Tailwind
colors: {
custom: {
50: '#c687b0',
500: '#ab548f',
950: '#000000',
},
}SCSS
$custom: #ab548f; $custom-light: #c687b0; $custom-dark: #000000;
JSON
{
"hex": "#ab548f",
"rgb": {
"r": 171,
"g": 84,
"b": 143
},
"hsl": {
"h": 319.31,
"s": 34.118,
"l": 50
},
"oklch": {
"l": 0.57122,
"c": 0.13468,
"h": 341.1
},
"luminance": 0.16982
}Semantic roles & 50–950 ramp
primary
#AB548F
secondary
#9AC1A6
accent
#CA815E
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130B10
muted
#827C7F