#AB2F79#AB2F79
#AB2F79 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.7% C 0.175 H 348.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2F79 |
|---|---|
| RGB | rgb(171, 47, 121) |
| HSL | hsl(324, 57%, 43%) |
| HSV | hsv(324, 73%, 67%) |
| CMYK | cmyk(0%, 72.5%, 29.2%, 32.9%) |
| CIE-LAB | lab(41.33, 56.40, -13.49) |
| CIE-LCH | lch(41.33, 57.99, 346.55°) |
| OKLab | oklab(51.74% 0.1718 -0.0354) |
| OKLCH | oklch(51.74% 0.175 348.3) |
| XYZ | xyz(21.2633, 12.0738, 19.2961) |
| Luminance | 0.1207 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.31
Mediumvioletred
#C71585
ΔE00 4.91
Red Violet
#9E0168
ΔE00 5.95
Deep Magenta
#A0025C
ΔE00 6.93
Dark Fuchsia
#9D0759
ΔE00 7.46
Violet Red
#A50055
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2F79 #2FAB61
analogous
#9F2FAB #AB2F79 #AB2F3B
triadic
#AB2F79 #79AB2F #2F79AB
tetradic
#AB2F79 #AB9F2F #2FAB61 #2F3BAB
square
#AB2F79 #AB9F2F #2FAB61 #2F3BAB
split-complementary
#AB2F79 #3BAB2F #2FAB9F
monochromatic
#4B1535 #7B2257 #AB2F79 #CD4A98 #DA7AB4
Accessibility & contrast
On white
6.15
#AB2F79 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#AB2F79 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2F79
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2F79 | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41547B
Deuteranopia (green-blind)
#656976
Tritanopia (blue-blind)
#B72A50
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #ab2f79; /* rgb */ color: rgb(171, 47, 121); /* oklch */ color: oklch(51.7% 0.175 348.3);
Tailwind
colors: {
custom: {
50: '#c8729f',
500: '#ab2f79',
950: '#000000',
},
}SCSS
$custom: #ab2f79; $custom-light: #c8729f; $custom-dark: #000000;
JSON
{
"hex": "#ab2f79",
"rgb": {
"r": 171,
"g": 47,
"b": 121
},
"hsl": {
"h": 324.194,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.51743,
"c": 0.17537,
"h": 348.3
},
"luminance": 0.12071
}Semantic roles & 50–950 ramp
primary
#AB2F79
secondary
#73C393
accent
#E08548
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E