#AB508F#AB508F
#AB508F is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.5% C 0.141 H 340.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #AB508F |
|---|---|
| RGB | rgb(171, 80, 143) |
| HSL | hsl(318, 36%, 49%) |
| HSV | hsv(318, 53%, 67%) |
| CMYK | cmyk(0%, 53.2%, 16.4%, 32.9%) |
| CIE-LAB | lab(47.47, 45.16, -17.52) |
| CIE-LCH | lch(47.47, 48.44, 338.80°) |
| OKLab | oklab(56.55% 0.1334 -0.0469) |
| OKLCH | oklch(56.55% 0.141 340.6) |
| XYZ | xyz(24.6216, 16.3803, 27.8462) |
| Luminance | 0.1638 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 4.12
Light Plum
#9D5783
ΔE00 4.15
Purplish
#94568C
ΔE00 4.97
Ugly Purple
#A442A0
ΔE00 6.53
Medium Purple
#9E43A2
ΔE00 7.64
Mediumvioletred
#C71585
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB508F #50AB6C
analogous
#9A50AB #AB508F #AB5061
triadic
#AB508F #8FAB50 #508FAB
tetradic
#AB508F #AB9A50 #50AB6C #5061AB
square
#AB508F #AB9A50 #50AB6C #5061AB
split-complementary
#AB508F #61AB50 #50AB9A
monochromatic
#582949 #813C6C #AB508F #C078AA #D3A2C4
Accessibility & contrast
On white
4.91
#AB508F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#AB508F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB508F
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB508F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB508F | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#556791
Deuteranopia (green-blind)
#6E768D
Tritanopia (blue-blind)
#B45169
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ab508f; /* rgb */ color: rgb(171, 80, 143); /* oklch */ color: oklch(56.5% 0.141 340.6);
Tailwind
colors: {
custom: {
50: '#c685b0',
500: '#ab508f',
950: '#000000',
},
}SCSS
$custom: #ab508f; $custom-light: #c685b0; $custom-dark: #000000;
JSON
{
"hex": "#ab508f",
"rgb": {
"r": 171,
"g": 80,
"b": 143
},
"hsl": {
"h": 318.462,
"s": 36.255,
"l": 49.216
},
"oklch": {
"l": 0.56549,
"c": 0.14141,
"h": 340.6
},
"luminance": 0.16378
}Semantic roles & 50–950 ramp
primary
#AB508F
secondary
#96C1A3
accent
#CC7E5C
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F