#AB397F#AB397F
#AB397F is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.0% C 0.166 H 346.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AB397F |
|---|---|
| RGB | rgb(171, 57, 127) |
| HSL | hsl(323, 50%, 45%) |
| HSV | hsv(323, 67%, 67%) |
| CMYK | cmyk(0%, 66.7%, 25.7%, 32.9%) |
| CIE-LAB | lab(42.94, 53.35, -14.74) |
| CIE-LCH | lch(42.94, 55.35, 344.56°) |
| OKLab | oklab(53% 0.1613 -0.039) |
| OKLCH | oklch(53% 0.166 346.4) |
| XYZ | xyz(22.0894, 13.1187, 21.4434) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.01
Magenta (survey)
#C20078
ΔE00 5.31
Light Plum
#9D5783
ΔE00 7.00
Purpleish
#98568D
ΔE00 7.58
Red Violet
#9E0168
ΔE00 7.66
Ugly Purple
#A442A0
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB397F #39AB65
analogous
#9E39AB #AB397F #AB3946
triadic
#AB397F #7FAB39 #397FAB
tetradic
#AB397F #AB9E39 #39AB65 #3946AB
square
#AB397F #AB9E39 #39AB65 #3946AB
split-complementary
#AB397F #46AB39 #39AB9E
monochromatic
#4F1A3B #7D2A5D #AB397F #C8599D #D787B8
Accessibility & contrast
On white
5.80
#AB397F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#AB397F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB397F
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB397F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB397F | 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)
#465981
Deuteranopia (green-blind)
#676D7C
Tritanopia (blue-blind)
#B63657
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ab397f; /* rgb */ color: rgb(171, 57, 127); /* oklch */ color: oklch(53.0% 0.166 346.4);
Tailwind
colors: {
custom: {
50: '#c877a4',
500: '#ab397f',
950: '#000000',
},
}SCSS
$custom: #ab397f; $custom-light: #c877a4; $custom-dark: #000000;
JSON
{
"hex": "#ab397f",
"rgb": {
"r": 171,
"g": 57,
"b": 127
},
"hsl": {
"h": 323.158,
"s": 50,
"l": 44.706
},
"oklch": {
"l": 0.52998,
"c": 0.16598,
"h": 346.4
},
"luminance": 0.13116
}Semantic roles & 50–950 ramp
primary
#AB397F
secondary
#7FC198
accent
#DA844E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#14090F
muted
#827B7F