#AB2F76#AB2F76
#AB2F76 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.174 H 349.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2F76 |
|---|---|
| RGB | rgb(171, 47, 118) |
| HSL | hsl(326, 57%, 43%) |
| HSV | hsv(326, 73%, 67%) |
| CMYK | cmyk(0%, 72.5%, 31%, 32.9%) |
| CIE-LAB | lab(41.22, 56.04, -11.81) |
| CIE-LCH | lch(41.22, 57.27, 348.10°) |
| OKLab | oklab(51.62% 0.171 -0.0308) |
| OKLCH | oklch(51.62% 0.174 349.8) |
| XYZ | xyz(21.0822, 12.0013, 18.3423) |
| Luminance | 0.1200 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.18
Mediumvioletred
#C71585
ΔE00 5.09
Red Violet
#9E0168
ΔE00 5.87
Deep Magenta
#A0025C
ΔE00 6.51
Dark Fuchsia
#9D0759
ΔE00 7.02
Violet Red
#A50055
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2F76 #2FAB64
analogous
#A22FAB #AB2F76 #AB2F38
triadic
#AB2F76 #76AB2F #2F76AB
tetradic
#AB2F76 #ABA22F #2FAB64 #2F38AB
square
#AB2F76 #ABA22F #2FAB64 #2F38AB
split-complementary
#AB2F76 #38AB2F #2FABA2
monochromatic
#4B1534 #7B2255 #AB2F76 #CD4A95 #DA7AB1
Accessibility & contrast
On white
6.18
#AB2F76 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#AB2F76 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2F76
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2F76 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#425378
Deuteranopia (green-blind)
#666973
Tritanopia (blue-blind)
#B8284E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #ab2f76; /* rgb */ color: rgb(171, 47, 118); /* oklch */ color: oklch(51.6% 0.174 349.8);
Tailwind
colors: {
custom: {
50: '#c8729d',
500: '#ab2f76',
950: '#000000',
},
}SCSS
$custom: #ab2f76; $custom-light: #c8729d; $custom-dark: #000000;
JSON
{
"hex": "#ab2f76",
"rgb": {
"r": 171,
"g": 47,
"b": 118
},
"hsl": {
"h": 325.645,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.51622,
"c": 0.17376,
"h": 349.8
},
"luminance": 0.11999
}Semantic roles & 50–950 ramp
primary
#AB2F76
secondary
#73C395
accent
#E08948
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E