#AB397E#AB397E
#AB397E is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.0% C 0.165 H 346.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AB397E |
|---|---|
| RGB | rgb(171, 57, 126) |
| HSL | hsl(324, 50%, 45%) |
| HSV | hsv(324, 67%, 67%) |
| CMYK | cmyk(0%, 66.7%, 26.3%, 32.9%) |
| CIE-LAB | lab(42.90, 53.22, -14.18) |
| CIE-LCH | lch(42.90, 55.08, 345.08°) |
| OKLab | oklab(52.96% 0.1611 -0.0374) |
| OKLCH | oklch(52.96% 0.165 346.9) |
| XYZ | xyz(22.0245, 13.0928, 21.1019) |
| Luminance | 0.1309 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.02
Magenta (survey)
#C20078
ΔE00 5.23
Light Plum
#9D5783
ΔE00 6.99
Red Violet
#9E0168
ΔE00 7.60
Purpleish
#98568D
ΔE00 7.68
Ugly Purple
#A442A0
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB397E #39AB66
analogous
#9F39AB #AB397E #AB3945
triadic
#AB397E #7EAB39 #397EAB
tetradic
#AB397E #AB9F39 #39AB66 #3945AB
square
#AB397E #AB9F39 #39AB66 #3945AB
split-complementary
#AB397E #45AB39 #39AB9F
monochromatic
#4F1A3A #7D2A5C #AB397E #C8599C #D787B8
Accessibility & contrast
On white
5.80
#AB397E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#AB397E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB397E
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB397E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB397E | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#475980
Deuteranopia (green-blind)
#686D7B
Tritanopia (blue-blind)
#B73656
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ab397e; /* rgb */ color: rgb(171, 57, 126); /* oklch */ color: oklch(53.0% 0.165 346.9);
Tailwind
colors: {
custom: {
50: '#c877a3',
500: '#ab397e',
950: '#000000',
},
}SCSS
$custom: #ab397e; $custom-light: #c877a3; $custom-dark: #000000;
JSON
{
"hex": "#ab397e",
"rgb": {
"r": 171,
"g": 57,
"b": 126
},
"hsl": {
"h": 323.684,
"s": 50,
"l": 44.706
},
"oklch": {
"l": 0.52957,
"c": 0.16539,
"h": 346.9
},
"luminance": 0.13091
}Semantic roles & 50–950 ramp
primary
#AB397E
secondary
#7FC199
accent
#DA854E
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#14090F
muted
#827B7F