#AB2E76#AB2E76
#AB2E76 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.175 H 349.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2E76 |
|---|---|
| RGB | rgb(171, 46, 118) |
| HSL | hsl(325, 58%, 43%) |
| HSV | hsv(325, 73%, 67%) |
| CMYK | cmyk(0%, 73.1%, 31%, 32.9%) |
| CIE-LAB | lab(41.09, 56.39, -12.00) |
| CIE-LCH | lch(41.09, 57.65, 347.99°) |
| OKLab | oklab(51.53% 0.1721 -0.0313) |
| OKLCH | oklch(51.53% 0.175 349.7) |
| XYZ | xyz(21.0427, 11.9223, 18.3291) |
| Luminance | 0.1192 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.14
Mediumvioletred
#C71585
ΔE00 5.08
Red Violet
#9E0168
ΔE00 5.74
Deep Magenta
#A0025C
ΔE00 6.42
Dark Fuchsia
#9D0759
ΔE00 6.94
Violet Red
#A50055
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2E76 #2EAB63
analogous
#A22EAB #AB2E76 #AB2E37
triadic
#AB2E76 #76AB2E #2E76AB
tetradic
#AB2E76 #ABA22E #2EAB63 #2E37AB
square
#AB2E76 #ABA22E #2EAB63 #2E37AB
split-complementary
#AB2E76 #37AB2E #2EABA2
monochromatic
#4B1433 #7B2155 #AB2E76 #CE4895 #DB79B1
Accessibility & contrast
On white
6.21
#AB2E76 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#AB2E76 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2E76
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2E76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2E76 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#415378
Deuteranopia (green-blind)
#666973
Tritanopia (blue-blind)
#B8274E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #ab2e76; /* rgb */ color: rgb(171, 46, 118); /* oklch */ color: oklch(51.5% 0.175 349.7);
Tailwind
colors: {
custom: {
50: '#c8729d',
500: '#ab2e76',
950: '#000000',
},
}SCSS
$custom: #ab2e76; $custom-light: #c8729d; $custom-dark: #000000;
JSON
{
"hex": "#ab2e76",
"rgb": {
"r": 171,
"g": 46,
"b": 118
},
"hsl": {
"h": 325.44,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.5153,
"c": 0.17493,
"h": 349.7
},
"luminance": 0.1192
}Semantic roles & 50–950 ramp
primary
#AB2E76
secondary
#72C394
accent
#E18847
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E