#AB2C7A#AB2C7A
#AB2C7A is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.179 H 347.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2C7A |
|---|---|
| RGB | rgb(171, 44, 122) |
| HSL | hsl(323, 59%, 42%) |
| HSV | hsv(323, 74%, 67%) |
| CMYK | cmyk(0%, 74.3%, 28.7%, 32.9%) |
| CIE-LAB | lab(41.00, 57.57, -14.61) |
| CIE-LCH | lch(41.00, 59.39, 345.76°) |
| OKLab | oklab(51.52% 0.1752 -0.0385) |
| OKLCH | oklch(51.52% 0.179 347.6) |
| XYZ | xyz(21.2091, 11.8668, 19.5822) |
| Luminance | 0.1186 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.32
Mediumvioletred
#C71585
ΔE00 4.90
Red Violet
#9E0168
ΔE00 5.64
Deep Magenta
#A0025C
ΔE00 6.87
Dark Fuchsia
#9D0759
ΔE00 7.44
Warm Purple
#952E8F
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2C7A #2CAB5D
analogous
#9D2CAB #AB2C7A #AB2C3A
triadic
#AB2C7A #7AAB2C #2C7AAB
tetradic
#AB2C7A #AB9D2C #2CAB5D #2C3AAB
square
#AB2C7A #AB9D2C #2CAB5D #2C3AAB
split-complementary
#AB2C7A #3AAB2C #2CAB9D
monochromatic
#4A1335 #7A1F57 #AB2C7A #CF459A #DC76B4
Accessibility & contrast
On white
6.23
#AB2C7A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#AB2C7A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2C7A
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2C7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2C7A | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E537C
Deuteranopia (green-blind)
#646977
Tritanopia (blue-blind)
#B7274F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #ab2c7a; /* rgb */ color: rgb(171, 44, 122); /* oklch */ color: oklch(51.5% 0.179 347.6);
Tailwind
colors: {
custom: {
50: '#c871a0',
500: '#ab2c7a',
950: '#000000',
},
}SCSS
$custom: #ab2c7a; $custom-light: #c871a0; $custom-dark: #000000;
JSON
{
"hex": "#ab2c7a",
"rgb": {
"r": 171,
"g": 44,
"b": 122
},
"hsl": {
"h": 323.15,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.51516,
"c": 0.1794,
"h": 347.6
},
"luminance": 0.11864
}Semantic roles & 50–950 ramp
primary
#AB2C7A
secondary
#6FC390
accent
#E28246
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E