#AB2C7E#AB2C7E
#AB2C7E is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.182 H 345.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2C7E |
|---|---|
| RGB | rgb(171, 44, 126) |
| HSL | hsl(321, 59%, 42%) |
| HSV | hsv(321, 74%, 67%) |
| CMYK | cmyk(0%, 74.3%, 26.3%, 32.9%) |
| CIE-LAB | lab(41.17, 58.07, -16.84) |
| CIE-LCH | lch(41.17, 60.46, 343.83°) |
| OKLab | oklab(51.69% 0.1761 -0.0447) |
| OKLCH | oklch(51.69% 0.182 345.8) |
| XYZ | xyz(21.4621, 11.9680, 20.9144) |
| Luminance | 0.1197 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.73
Mediumvioletred
#C71585
ΔE00 4.89
Red Violet
#9E0168
ΔE00 5.95
Warm Purple
#952E8F
ΔE00 7.13
Deep Magenta
#A0025C
ΔE00 7.54
Ugly Purple
#A442A0
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2C7E #2CAB59
analogous
#992CAB #AB2C7E #AB2C3E
triadic
#AB2C7E #7EAB2C #2C7EAB
tetradic
#AB2C7E #AB992C #2CAB59 #2C3EAB
square
#AB2C7E #AB992C #2CAB59 #2C3EAB
split-complementary
#AB2C7E #3EAB2C #2CAB99
monochromatic
#4A1336 #7A1F5A #AB2C7E #CF459E #DC76B8
Accessibility & contrast
On white
6.19
#AB2C7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#AB2C7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2C7E
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2C7E | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C5380
Deuteranopia (green-blind)
#63697B
Tritanopia (blue-blind)
#B72951
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #ab2c7e; /* rgb */ color: rgb(171, 44, 126); /* oklch */ color: oklch(51.7% 0.182 345.8);
Tailwind
colors: {
custom: {
50: '#c871a3',
500: '#ab2c7e',
950: '#000000',
},
}SCSS
$custom: #ab2c7e; $custom-light: #c871a3; $custom-dark: #000000;
JSON
{
"hex": "#ab2c7e",
"rgb": {
"r": 171,
"g": 44,
"b": 126
},
"hsl": {
"h": 321.26,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.51686,
"c": 0.18168,
"h": 345.8
},
"luminance": 0.11966
}Semantic roles & 50–950 ramp
primary
#AB2C7E
secondary
#6FC38D
accent
#E27D46
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F