#AB2F62#AB2F62
#AB2F62 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.165 H 359.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2F62 |
|---|---|
| RGB | rgb(171, 47, 98) |
| HSL | hsl(335, 57%, 43%) |
| HSV | hsv(335, 73%, 67%) |
| CMYK | cmyk(0%, 72.5%, 42.7%, 32.9%) |
| CIE-LAB | lab(40.53, 53.80, -0.33) |
| CIE-LCH | lch(40.53, 53.80, 359.65°) |
| OKLab | oklab(50.89% 0.165 -0.0002) |
| OKLCH | oklch(50.89% 0.165 359.9) |
| XYZ | xyz(20.0172, 11.5753, 12.7331) |
| Luminance | 0.1157 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.94
Light Burgundy
#A8415B
ΔE00 5.20
Deep Pink
#CB0162
ΔE00 5.76
Deep Magenta
#A0025C
ΔE00 5.87
Dark Fuchsia
#9D0759
ΔE00 5.96
Purplish Red
#B0054B
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2F62 #2FAB78
analogous
#AB2FA0 #AB2F62 #AB3A2F
triadic
#AB2F62 #62AB2F #2F62AB
tetradic
#AB2F62 #A0AB2F #2FAB78 #3A2FAB
square
#AB2F62 #A0AB2F #2FAB78 #3A2FAB
split-complementary
#AB2F62 #2FAB3A #2FA0AB
monochromatic
#4B152B #7B2246 #AB2F62 #CD4A80 #DA7AA2
Accessibility & contrast
On white
6.34
#AB2F62 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#AB2F62 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2F62
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2F62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2F62 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495063
Deuteranopia (green-blind)
#6B685F
Tritanopia (blue-blind)
#B91D45
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #ab2f62; /* rgb */ color: rgb(171, 47, 98); /* oklch */ color: oklch(50.9% 0.165 359.9);
Tailwind
colors: {
custom: {
50: '#c9728e',
500: '#ab2f62',
950: '#000000',
},
}SCSS
$custom: #ab2f62; $custom-light: #c9728e; $custom-dark: #000000;
JSON
{
"hex": "#ab2f62",
"rgb": {
"r": 171,
"g": 47,
"b": 98
},
"hsl": {
"h": 335.323,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.50894,
"c": 0.165,
"h": 359.9
},
"luminance": 0.11573
}Semantic roles & 50–950 ramp
primary
#AB2F62
secondary
#73C3A2
accent
#E0A148
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D