#AB2C7C#AB2C7C
#AB2C7C is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.181 H 346.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2C7C |
|---|---|
| RGB | rgb(171, 44, 124) |
| HSL | hsl(322, 59%, 42%) |
| HSV | hsv(322, 74%, 67%) |
| CMYK | cmyk(0%, 74.3%, 27.5%, 32.9%) |
| CIE-LAB | lab(41.08, 57.82, -15.72) |
| CIE-LCH | lch(41.08, 59.92, 344.78°) |
| OKLab | oklab(51.6% 0.1757 -0.0416) |
| OKLCH | oklch(51.6% 0.181 346.7) |
| XYZ | xyz(21.3343, 11.9169, 20.2415) |
| Luminance | 0.1192 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.51
Mediumvioletred
#C71585
ΔE00 4.88
Red Violet
#9E0168
ΔE00 5.78
Deep Magenta
#A0025C
ΔE00 7.20
Warm Purple
#952E8F
ΔE00 7.51
Dark Fuchsia
#9D0759
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2C7C #2CAB5B
analogous
#9B2CAB #AB2C7C #AB2C3C
triadic
#AB2C7C #7CAB2C #2C7CAB
tetradic
#AB2C7C #AB9B2C #2CAB5B #2C3CAB
square
#AB2C7C #AB9B2C #2CAB5B #2C3CAB
split-complementary
#AB2C7C #3CAB2C #2CAB9B
monochromatic
#4A1335 #7A1F59 #AB2C7C #CF459C #DC76B6
Accessibility & contrast
On white
6.21
#AB2C7C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#AB2C7C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2C7C
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2C7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2C7C | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D537E
Deuteranopia (green-blind)
#636979
Tritanopia (blue-blind)
#B72850
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #ab2c7c; /* rgb */ color: rgb(171, 44, 124); /* oklch */ color: oklch(51.6% 0.181 346.7);
Tailwind
colors: {
custom: {
50: '#c871a2',
500: '#ab2c7c',
950: '#000000',
},
}SCSS
$custom: #ab2c7c; $custom-light: #c871a2; $custom-dark: #000000;
JSON
{
"hex": "#ab2c7c",
"rgb": {
"r": 171,
"g": 44,
"b": 124
},
"hsl": {
"h": 322.205,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.516,
"c": 0.18053,
"h": 346.7
},
"luminance": 0.11915
}Semantic roles & 50–950 ramp
primary
#AB2C7C
secondary
#6FC38E
accent
#E28046
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E