#AB2C66#AB2C66
#AB2C66 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.170 H 357.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2C66 |
|---|---|
| RGB | rgb(171, 44, 102) |
| HSL | hsl(333, 59%, 42%) |
| HSV | hsv(333, 74%, 67%) |
| CMYK | cmyk(0%, 74.3%, 40.4%, 32.9%) |
| CIE-LAB | lab(40.28, 55.27, -3.22) |
| CIE-LCH | lch(40.28, 55.37, 356.67°) |
| OKLab | oklab(50.75% 0.1697 -0.0078) |
| OKLCH | oklch(50.75% 0.17 357.4) |
| XYZ | xyz(20.0949, 11.4211, 13.7141) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.84
Deep Magenta
#A0025C
ΔE00 5.14
Magenta (survey)
#C20078
ΔE00 5.29
Dark Fuchsia
#9D0759
ΔE00 5.38
Deep Pink
#CB0162
ΔE00 6.23
Light Burgundy
#A8415B
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2C66 #2CAB71
analogous
#AB2CA6 #AB2C66 #AB312C
triadic
#AB2C66 #66AB2C #2C66AB
tetradic
#AB2C66 #A6AB2C #2CAB71 #312CAB
square
#AB2C66 #A6AB2C #2CAB71 #312CAB
split-complementary
#AB2C66 #2CAB31 #2CA6AB
monochromatic
#4A132C #7A1F49 #AB2C66 #CF4584 #DC76A4
Accessibility & contrast
On white
6.40
#AB2C66 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#AB2C66 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2C66
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2C66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2C66 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#465067
Deuteranopia (green-blind)
#696863
Tritanopia (blue-blind)
#B91B45
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #ab2c66; /* rgb */ color: rgb(171, 44, 102); /* oklch */ color: oklch(50.7% 0.170 357.4);
Tailwind
colors: {
custom: {
50: '#c97191',
500: '#ab2c66',
950: '#000000',
},
}SCSS
$custom: #ab2c66; $custom-light: #c97191; $custom-dark: #000000;
JSON
{
"hex": "#ab2c66",
"rgb": {
"r": 171,
"g": 44,
"b": 102
},
"hsl": {
"h": 332.598,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.5075,
"c": 0.16988,
"h": 357.4
},
"luminance": 0.11419
}Semantic roles & 50–950 ramp
primary
#AB2C66
secondary
#6FC39D
accent
#E29B46
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D