#AB2A76#AB2A76
#AB2A76 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.179 H 349.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A76 |
|---|---|
| RGB | rgb(171, 42, 118) |
| HSL | hsl(325, 61%, 42%) |
| HSV | hsv(325, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 31%, 32.9%) |
| CIE-LAB | lab(40.61, 57.74, -12.72) |
| CIE-LCH | lch(40.61, 59.13, 347.57°) |
| OKLab | oklab(51.18% 0.1763 -0.0333) |
| OKLCH | oklch(51.18% 0.179 349.3) |
| XYZ | xyz(20.8937, 11.6243, 18.2794) |
| Luminance | 0.1162 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.05
Mediumvioletred
#C71585
ΔE00 5.10
Red Violet
#9E0168
ΔE00 5.23
Deep Magenta
#A0025C
ΔE00 6.12
Dark Fuchsia
#9D0759
ΔE00 6.68
Violet Red
#A50055
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A76 #2AAB5F
analogous
#A02AAB #AB2A76 #AB2A36
triadic
#AB2A76 #76AB2A #2A76AB
tetradic
#AB2A76 #ABA02A #2AAB5F #2A36AB
square
#AB2A76 #ABA02A #2AAB5F #2A36AB
split-complementary
#AB2A76 #36AB2A #2AABA0
monochromatic
#491232 #7A1E54 #AB2A76 #D14296 #DD73B1
Accessibility & contrast
On white
6.32
#AB2A76 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#AB2A76 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A76
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A76 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5178
Deuteranopia (green-blind)
#646873
Tritanopia (blue-blind)
#B8224C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #ab2a76; /* rgb */ color: rgb(171, 42, 118); /* oklch */ color: oklch(51.2% 0.179 349.3);
Tailwind
colors: {
custom: {
50: '#c8709d',
500: '#ab2a76',
950: '#000000',
},
}SCSS
$custom: #ab2a76; $custom-light: #c8709d; $custom-dark: #000000;
JSON
{
"hex": "#ab2a76",
"rgb": {
"r": 171,
"g": 42,
"b": 118
},
"hsl": {
"h": 324.651,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.51179,
"c": 0.17946,
"h": 349.3
},
"luminance": 0.11622
}Semantic roles & 50–950 ramp
primary
#AB2A76
secondary
#6DC491
accent
#E48644
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E