#AB2C6A#AB2C6A
#AB2C6A is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.172 H 355.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2C6A |
|---|---|
| RGB | rgb(171, 44, 106) |
| HSL | hsl(331, 59%, 42%) |
| HSV | hsv(331, 74%, 67%) |
| CMYK | cmyk(0%, 74.3%, 38%, 32.9%) |
| CIE-LAB | lab(40.41, 55.70, -5.53) |
| CIE-LCH | lch(40.41, 55.98, 354.33°) |
| OKLab | oklab(50.89% 0.1709 -0.0139) |
| OKLCH | oklch(50.89% 0.172 355.4) |
| XYZ | xyz(20.2981, 11.5024, 14.7841) |
| Luminance | 0.1150 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.68
Deep Magenta
#A0025C
ΔE00 5.14
Violet Red
#A50055
ΔE00 5.35
Dark Fuchsia
#9D0759
ΔE00 5.48
Red Violet
#9E0168
ΔE00 6.08
Mediumvioletred
#C71585
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2C6A #2CAB6D
analogous
#AB2CAA #AB2C6A #AB2E2C
triadic
#AB2C6A #6AAB2C #2C6AAB
tetradic
#AB2C6A #AAAB2C #2CAB6D #2E2CAB
square
#AB2C6A #AAAB2C #2CAB6D #2E2CAB
split-complementary
#AB2C6A #2CAB2E #2CAAAB
monochromatic
#4A132E #7A1F4C #AB2C6A #CF4588 #DC76A7
Accessibility & contrast
On white
6.36
#AB2C6A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#AB2C6A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2C6A
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2C6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2C6A | 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)
#45506C
Deuteranopia (green-blind)
#686867
Tritanopia (blue-blind)
#B91E47
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #ab2c6a; /* rgb */ color: rgb(171, 44, 106); /* oklch */ color: oklch(50.9% 0.172 355.4);
Tailwind
colors: {
custom: {
50: '#c97194',
500: '#ab2c6a',
950: '#000000',
},
}SCSS
$custom: #ab2c6a; $custom-light: #c97194; $custom-dark: #000000;
JSON
{
"hex": "#ab2c6a",
"rgb": {
"r": 171,
"g": 44,
"b": 106
},
"hsl": {
"h": 330.709,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.50892,
"c": 0.1715,
"h": 355.4
},
"luminance": 0.115
}Semantic roles & 50–950 ramp
primary
#AB2C6A
secondary
#6FC39A
accent
#E29646
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E