#AB2B7E#AB2B7E
#AB2B7E is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.183 H 345.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2B7E |
|---|---|
| RGB | rgb(171, 43, 126) |
| HSL | hsl(321, 60%, 42%) |
| HSV | hsv(321, 75%, 67%) |
| CMYK | cmyk(0%, 74.9%, 26.3%, 32.9%) |
| CIE-LAB | lab(41.05, 58.40, -17.02) |
| CIE-LCH | lch(41.05, 60.83, 343.76°) |
| OKLab | oklab(51.6% 0.1771 -0.0452) |
| OKLCH | oklch(51.6% 0.183 345.7) |
| XYZ | xyz(21.4253, 11.8944, 20.9021) |
| Luminance | 0.1189 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.73
Mediumvioletred
#C71585
ΔE00 4.92
Red Violet
#9E0168
ΔE00 5.85
Warm Purple
#952E8F
ΔE00 7.07
Deep Magenta
#A0025C
ΔE00 7.49
Ugly Purple
#A442A0
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2B7E #2BAB58
analogous
#982BAB #AB2B7E #AB2B3E
triadic
#AB2B7E #7EAB2B #2B7EAB
tetradic
#AB2B7E #AB982B #2BAB58 #2B3EAB
square
#AB2B7E #AB982B #2BAB58 #2B3EAB
split-complementary
#AB2B7E #3EAB2B #2BAB98
monochromatic
#491236 #7A1F5A #AB2B7E #D0439E #DC74B8
Accessibility & contrast
On white
6.22
#AB2B7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#AB2B7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2B7E
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2B7E | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C5380
Deuteranopia (green-blind)
#62697B
Tritanopia (blue-blind)
#B72851
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #ab2b7e; /* rgb */ color: rgb(171, 43, 126); /* oklch */ color: oklch(51.6% 0.183 345.7);
Tailwind
colors: {
custom: {
50: '#c871a3',
500: '#ab2b7e',
950: '#000000',
},
}SCSS
$custom: #ab2b7e; $custom-light: #c871a3; $custom-dark: #000000;
JSON
{
"hex": "#ab2b7e",
"rgb": {
"r": 171,
"g": 43,
"b": 126
},
"hsl": {
"h": 321.094,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.51601,
"c": 0.18279,
"h": 345.7
},
"luminance": 0.11892
}Semantic roles & 50–950 ramp
primary
#AB2B7E
secondary
#6EC48C
accent
#E37C45
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F