#AB458E#AB458E
#AB458E is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.0% C 0.158 H 340.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #AB458E |
|---|---|
| RGB | rgb(171, 69, 142) |
| HSL | hsl(317, 43%, 47%) |
| HSV | hsv(317, 60%, 67%) |
| CMYK | cmyk(0%, 59.6%, 17%, 32.9%) |
| CIE-LAB | lab(45.45, 50.28, -20.01) |
| CIE-LCH | lch(45.45, 54.12, 338.30°) |
| OKLab | oklab(55.04% 0.1489 -0.0537) |
| OKLCH | oklch(55.04% 0.158 340.2) |
| XYZ | xyz(23.8057, 14.8692, 27.2022) |
| Luminance | 0.1487 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 5.01
Purpleish
#98568D
ΔE00 5.17
Purplish
#94568C
ΔE00 5.81
Light Plum
#9D5783
ΔE00 5.83
Medium Purple
#9E43A2
ΔE00 6.24
Mediumvioletred
#C71585
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB458E #45AB62
analogous
#9545AB #AB458E #AB455B
triadic
#AB458E #8EAB45 #458EAB
tetradic
#AB458E #AB9545 #45AB62 #455BAB
square
#AB458E #AB9545 #45AB62 #455BAB
split-complementary
#AB458E #5BAB45 #45AB95
monochromatic
#542246 #7F336A #AB458E #C36AAA #D596C3
Accessibility & contrast
On white
5.29
#AB458E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#AB458E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB458E
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB458E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB458E | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A6190
Deuteranopia (green-blind)
#68728B
Tritanopia (blue-blind)
#B44763
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #ab458e; /* rgb */ color: rgb(171, 69, 142); /* oklch */ color: oklch(55.0% 0.158 340.2);
Tailwind
colors: {
custom: {
50: '#c77eaf',
500: '#ab458e',
950: '#000000',
},
}SCSS
$custom: #ab458e; $custom-light: #c77eaf; $custom-dark: #000000;
JSON
{
"hex": "#ab458e",
"rgb": {
"r": 171,
"g": 69,
"b": 142
},
"hsl": {
"h": 317.059,
"s": 42.5,
"l": 47.059
},
"oklch": {
"l": 0.55044,
"c": 0.15833,
"h": 340.2
},
"luminance": 0.14867
}Semantic roles & 50–950 ramp
primary
#AB458E
secondary
#8BC09A
accent
#D27956
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130A10
muted
#827C7F