#AB2C7D#AB2C7D
#AB2C7D is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.181 H 346.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2C7D |
|---|---|
| RGB | rgb(171, 44, 125) |
| HSL | hsl(322, 59%, 42%) |
| HSV | hsv(322, 74%, 67%) |
| CMYK | cmyk(0%, 74.3%, 26.9%, 32.9%) |
| CIE-LAB | lab(41.12, 57.94, -16.28) |
| CIE-LCH | lch(41.12, 60.19, 344.31°) |
| OKLab | oklab(51.64% 0.1759 -0.0431) |
| OKLCH | oklch(51.64% 0.181 346.2) |
| XYZ | xyz(21.3979, 11.9423, 20.5763) |
| Luminance | 0.1194 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.61
Mediumvioletred
#C71585
ΔE00 4.88
Red Violet
#9E0168
ΔE00 5.86
Warm Purple
#952E8F
ΔE00 7.32
Deep Magenta
#A0025C
ΔE00 7.37
Dark Fuchsia
#9D0759
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2C7D #2CAB5A
analogous
#9A2CAB #AB2C7D #AB2C3E
triadic
#AB2C7D #7DAB2C #2C7DAB
tetradic
#AB2C7D #AB9A2C #2CAB5A #2C3EAB
square
#AB2C7D #AB9A2C #2CAB5A #2C3EAB
split-complementary
#AB2C7D #3EAB2C #2CAB9A
monochromatic
#4A1336 #7A1F59 #AB2C7D #CF459D #DC76B7
Accessibility & contrast
On white
6.20
#AB2C7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#AB2C7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2C7D
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2C7D | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D537F
Deuteranopia (green-blind)
#63697A
Tritanopia (blue-blind)
#B72951
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #ab2c7d; /* rgb */ color: rgb(171, 44, 125); /* oklch */ color: oklch(51.6% 0.181 346.2);
Tailwind
colors: {
custom: {
50: '#c871a2',
500: '#ab2c7d',
950: '#000000',
},
}SCSS
$custom: #ab2c7d; $custom-light: #c871a2; $custom-dark: #000000;
JSON
{
"hex": "#ab2c7d",
"rgb": {
"r": 171,
"g": 44,
"b": 125
},
"hsl": {
"h": 321.732,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.51643,
"c": 0.18109,
"h": 346.2
},
"luminance": 0.1194
}Semantic roles & 50–950 ramp
primary
#AB2C7D
secondary
#6FC38E
accent
#E27E46
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F