#AB2B6E#AB2B6E
#AB2B6E is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.174 H 353.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2B6E |
|---|---|
| RGB | rgb(171, 43, 110) |
| HSL | hsl(329, 60%, 42%) |
| HSV | hsv(329, 75%, 67%) |
| CMYK | cmyk(0%, 74.9%, 35.7%, 32.9%) |
| CIE-LAB | lab(40.43, 56.48, -8.01) |
| CIE-LCH | lch(40.43, 57.05, 351.93°) |
| OKLab | oklab(50.95% 0.1732 -0.0205) |
| OKLCH | oklch(50.95% 0.174 353.3) |
| XYZ | xyz(20.4742, 11.5139, 15.8930) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.20
Deep Magenta
#A0025C
ΔE00 5.25
Red Violet
#9E0168
ΔE00 5.55
Dark Fuchsia
#9D0759
ΔE00 5.69
Mediumvioletred
#C71585
ΔE00 5.91
Violet Red
#A50055
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2B6E #2BAB68
analogous
#A82BAB #AB2B6E #AB2B2E
triadic
#AB2B6E #6EAB2B #2B6EAB
tetradic
#AB2B6E #ABA82B #2BAB68 #2B2EAB
square
#AB2B6E #ABA82B #2BAB68 #2B2EAB
split-complementary
#AB2B6E #2EAB2B #2BABA8
monochromatic
#49122F #7A1F4F #AB2B6E #D0438D #DC74AB
Accessibility & contrast
On white
6.36
#AB2B6E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#AB2B6E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2B6E
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2B6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2B6E | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#435070
Deuteranopia (green-blind)
#67686B
Tritanopia (blue-blind)
#B81F49
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #ab2b6e; /* rgb */ color: rgb(171, 43, 110); /* oklch */ color: oklch(51.0% 0.174 353.3);
Tailwind
colors: {
custom: {
50: '#c97097',
500: '#ab2b6e',
950: '#000000',
},
}SCSS
$custom: #ab2b6e; $custom-light: #c97097; $custom-dark: #000000;
JSON
{
"hex": "#ab2b6e",
"rgb": {
"r": 171,
"g": 43,
"b": 110
},
"hsl": {
"h": 328.594,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.50951,
"c": 0.1744,
"h": 353.3
},
"luminance": 0.11511
}Semantic roles & 50–950 ramp
primary
#AB2B6E
secondary
#6EC497
accent
#E39045
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E