#AB2A6A#AB2A6A
#AB2A6A is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.174 H 355.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A6A |
|---|---|
| RGB | rgb(171, 42, 106) |
| HSL | hsl(330, 61%, 42%) |
| HSV | hsv(330, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 38%, 32.9%) |
| CIE-LAB | lab(40.18, 56.37, -5.89) |
| CIE-LCH | lch(40.18, 56.68, 354.04°) |
| OKLab | oklab(50.72% 0.1731 -0.0148) |
| OKLCH | oklch(50.72% 0.174 355.1) |
| XYZ | xyz(20.2254, 11.3570, 14.7599) |
| Luminance | 0.1135 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.56
Deep Magenta
#A0025C
ΔE00 4.89
Violet Red
#A50055
ΔE00 5.20
Dark Fuchsia
#9D0759
ΔE00 5.26
Red Violet
#9E0168
ΔE00 5.79
Mediumvioletred
#C71585
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A6A #2AAB6B
analogous
#AB2AAA #AB2A6A #AB2B2A
triadic
#AB2A6A #6AAB2A #2A6AAB
tetradic
#AB2A6A #AAAB2A #2AAB6B #2B2AAB
square
#AB2A6A #AAAB2A #2AAB6B #2B2AAB
split-complementary
#AB2A6A #2AAB2B #2AAAAB
monochromatic
#49122D #7A1E4C #AB2A6A #D14289 #DD73A7
Accessibility & contrast
On white
6.42
#AB2A6A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#AB2A6A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A6A
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A6A | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434F6C
Deuteranopia (green-blind)
#676767
Tritanopia (blue-blind)
#B91B46
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #ab2a6a; /* rgb */ color: rgb(171, 42, 106); /* oklch */ color: oklch(50.7% 0.174 355.1);
Tailwind
colors: {
custom: {
50: '#c97094',
500: '#ab2a6a',
950: '#000000',
},
}SCSS
$custom: #ab2a6a; $custom-light: #c97094; $custom-dark: #000000;
JSON
{
"hex": "#ab2a6a",
"rgb": {
"r": 171,
"g": 42,
"b": 106
},
"hsl": {
"h": 330.233,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.50717,
"c": 0.17371,
"h": 355.1
},
"luminance": 0.11354
}Semantic roles & 50–950 ramp
primary
#AB2A6A
secondary
#6DC499
accent
#E49544
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E