#AB2B7A#AB2B7A
#AB2B7A is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.181 H 347.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2B7A |
|---|---|
| RGB | rgb(171, 43, 122) |
| HSL | hsl(323, 60%, 42%) |
| HSV | hsv(323, 75%, 67%) |
| CMYK | cmyk(0%, 74.9%, 28.7%, 32.9%) |
| CIE-LAB | lab(40.89, 57.90, -14.79) |
| CIE-LCH | lch(40.89, 59.76, 345.67°) |
| OKLab | oklab(51.43% 0.1763 -0.039) |
| OKLCH | oklch(51.43% 0.181 347.5) |
| XYZ | xyz(21.1723, 11.7932, 19.5699) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.32
Mediumvioletred
#C71585
ΔE00 4.92
Red Violet
#9E0168
ΔE00 5.53
Deep Magenta
#A0025C
ΔE00 6.81
Dark Fuchsia
#9D0759
ΔE00 7.38
Warm Purple
#952E8F
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2B7A #2BAB5C
analogous
#9C2BAB #AB2B7A #AB2B3A
triadic
#AB2B7A #7AAB2B #2B7AAB
tetradic
#AB2B7A #AB9C2B #2BAB5C #2B3AAB
square
#AB2B7A #AB9C2B #2BAB5C #2B3AAB
split-complementary
#AB2B7A #3AAB2B #2BAB9C
monochromatic
#491234 #7A1F57 #AB2B7A #D0439A #DC74B4
Accessibility & contrast
On white
6.25
#AB2B7A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#AB2B7A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2B7A
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2B7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2B7A | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E527C
Deuteranopia (green-blind)
#636877
Tritanopia (blue-blind)
#B7264F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #ab2b7a; /* rgb */ color: rgb(171, 43, 122); /* oklch */ color: oklch(51.4% 0.181 347.5);
Tailwind
colors: {
custom: {
50: '#c871a0',
500: '#ab2b7a',
950: '#000000',
},
}SCSS
$custom: #ab2b7a; $custom-light: #c871a0; $custom-dark: #000000;
JSON
{
"hex": "#ab2b7a",
"rgb": {
"r": 171,
"g": 43,
"b": 122
},
"hsl": {
"h": 322.969,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.5143,
"c": 0.18052,
"h": 347.5
},
"luminance": 0.11791
}Semantic roles & 50–950 ramp
primary
#AB2B7A
secondary
#6EC48F
accent
#E38145
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E