#AB2E96#AB2E96
#AB2E96 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 53.0% C 0.195 H 335.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2E96 |
|---|---|
| RGB | rgb(171, 46, 150) |
| HSL | hsl(310, 58%, 43%) |
| HSV | hsv(310, 73%, 67%) |
| CMYK | cmyk(0%, 73.1%, 12.3%, 32.9%) |
| CIE-LAB | lab(42.48, 60.73, -29.45) |
| CIE-LCH | lch(42.48, 67.50, 334.13°) |
| OKLab | oklab(53% 0.1777 -0.0803) |
| OKLCH | oklch(53% 0.195 335.7) |
| XYZ | xyz(23.2769, 12.8160, 30.0961) |
| Luminance | 0.1281 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.72
Warm Purple
#952E8F
ΔE00 4.40
Medium Purple
#9E43A2
ΔE00 4.59
Barney Purple
#A00498
ΔE00 5.38
Barney
#AC1DB8
ΔE00 6.38
Mediumvioletred
#C71585
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2E96 #2EAB43
analogous
#822EAB #AB2E96 #AB2E57
triadic
#AB2E96 #96AB2E #2E96AB
tetradic
#AB2E96 #AB822E #2EAB43 #2E57AB
square
#AB2E96 #AB822E #2EAB43 #2E57AB
split-complementary
#AB2E96 #57AB2E #2EAB82
monochromatic
#4B1441 #7B216C #AB2E96 #CE48B7 #DB79CA
Accessibility & contrast
On white
5.89
#AB2E96 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#AB2E96 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2E96
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2E96 | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5899
Deuteranopia (green-blind)
#5B6B93
Tritanopia (blue-blind)
#B4375F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ab2e96; /* rgb */ color: rgb(171, 46, 150); /* oklch */ color: oklch(53.0% 0.195 335.7);
Tailwind
colors: {
custom: {
50: '#c873b5',
500: '#ab2e96',
950: '#000000',
},
}SCSS
$custom: #ab2e96; $custom-light: #c873b5; $custom-dark: #000000;
JSON
{
"hex": "#ab2e96",
"rgb": {
"r": 171,
"g": 46,
"b": 150
},
"hsl": {
"h": 310.08,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.52996,
"c": 0.19503,
"h": 335.7
},
"luminance": 0.12814
}Semantic roles & 50–950 ramp
primary
#AB2E96
secondary
#72C37F
accent
#E16147
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80