#AB548B#AB548B
#AB548B is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.0% C 0.132 H 343.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AB548B |
|---|---|
| RGB | rgb(171, 84, 139) |
| HSL | hsl(322, 34%, 50%) |
| HSV | hsv(322, 51%, 67%) |
| CMYK | cmyk(0%, 50.9%, 18.7%, 32.9%) |
| CIE-LAB | lab(48.09, 42.51, -14.18) |
| CIE-LCH | lch(48.09, 44.81, 341.55°) |
| OKLab | oklab(56.96% 0.1263 -0.0377) |
| OKLCH | oklch(56.96% 0.132 343.4) |
| XYZ | xyz(24.6256, 16.8646, 26.3793) |
| Luminance | 0.1686 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 3.21
Purpleish
#98568D
ΔE00 4.53
Purplish
#94568C
ΔE00 5.37
Dusky Purple
#895B7B
ΔE00 8.13
Ugly Purple
#A442A0
ΔE00 8.20
Mediumvioletred
#C71585
ΔE00 8.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB548B #54AB74
analogous
#A054AB #AB548B #AB545F
triadic
#AB548B #8BAB54 #548BAB
tetradic
#AB548B #ABA054 #54AB74 #545FAB
square
#AB548B #ABA054 #54AB74 #545FAB
split-complementary
#AB548B #5FAB54 #54ABA0
monochromatic
#592C48 #82406A #AB548B #BF7DA7 #D3A6C3
Accessibility & contrast
On white
4.80
#AB548B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#AB548B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB548B
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB548B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB548B | 1.00 | 4.80 | 4.37 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A698D
Deuteranopia (green-blind)
#727789
Tritanopia (blue-blind)
#B45469
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #ab548b; /* rgb */ color: rgb(171, 84, 139); /* oklch */ color: oklch(57.0% 0.132 343.4);
Tailwind
colors: {
custom: {
50: '#c687ad',
500: '#ab548b',
950: '#000000',
},
}SCSS
$custom: #ab548b; $custom-light: #c687ad; $custom-dark: #000000;
JSON
{
"hex": "#ab548b",
"rgb": {
"r": 171,
"g": 84,
"b": 139
},
"hsl": {
"h": 322.069,
"s": 34.118,
"l": 50
},
"oklch": {
"l": 0.5696,
"c": 0.13181,
"h": 343.4
},
"luminance": 0.16863
}Semantic roles & 50–950 ramp
primary
#AB548B
secondary
#9AC1A8
accent
#CA865E
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130B10
muted
#827C7F