#AB2B6A#AB2B6A
#AB2B6A is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.173 H 355.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2B6A |
|---|---|
| RGB | rgb(171, 43, 106) |
| HSL | hsl(330, 60%, 42%) |
| HSV | hsv(330, 75%, 67%) |
| CMYK | cmyk(0%, 74.9%, 38%, 32.9%) |
| CIE-LAB | lab(40.29, 56.04, -5.71) |
| CIE-LCH | lch(40.29, 56.33, 354.18°) |
| OKLab | oklab(50.8% 0.172 -0.0143) |
| OKLCH | oklch(50.8% 0.173 355.2) |
| XYZ | xyz(20.2613, 11.4288, 14.7719) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.61
Deep Magenta
#A0025C
ΔE00 5.01
Violet Red
#A50055
ΔE00 5.27
Dark Fuchsia
#9D0759
ΔE00 5.37
Red Violet
#9E0168
ΔE00 5.93
Mediumvioletred
#C71585
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2B6A #2BAB6C
analogous
#AB2BAA #AB2B6A #AB2C2B
triadic
#AB2B6A #6AAB2B #2B6AAB
tetradic
#AB2B6A #AAAB2B #2BAB6C #2C2BAB
square
#AB2B6A #AAAB2B #2BAB6C #2C2BAB
split-complementary
#AB2B6A #2BAB2C #2BAAAB
monochromatic
#49122D #7A1F4C #AB2B6A #D04389 #DC74A7
Accessibility & contrast
On white
6.39
#AB2B6A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#AB2B6A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2B6A
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2B6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2B6A | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#44506C
Deuteranopia (green-blind)
#686867
Tritanopia (blue-blind)
#B91C47
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #ab2b6a; /* rgb */ color: rgb(171, 43, 106); /* oklch */ color: oklch(50.8% 0.173 355.2);
Tailwind
colors: {
custom: {
50: '#c97094',
500: '#ab2b6a',
950: '#000000',
},
}SCSS
$custom: #ab2b6a; $custom-light: #c97094; $custom-dark: #000000;
JSON
{
"hex": "#ab2b6a",
"rgb": {
"r": 171,
"g": 43,
"b": 106
},
"hsl": {
"h": 330.469,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.50803,
"c": 0.17262,
"h": 355.2
},
"luminance": 0.11426
}Semantic roles & 50–950 ramp
primary
#AB2B6A
secondary
#6EC49A
accent
#E39545
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E