#AB2E6D#AB2E6D
#AB2E6D is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.171 H 354.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2E6D |
|---|---|
| RGB | rgb(171, 46, 109) |
| HSL | hsl(330, 58%, 43%) |
| HSV | hsv(330, 73%, 67%) |
| CMYK | cmyk(0%, 73.1%, 36.3%, 32.9%) |
| CIE-LAB | lab(40.77, 55.34, -6.88) |
| CIE-LCH | lch(40.77, 55.76, 352.91°) |
| OKLab | oklab(51.18% 0.1696 -0.0175) |
| OKLCH | oklch(51.18% 0.171 354.1) |
| XYZ | xyz(20.5332, 11.7185, 15.6456) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.46
Deep Magenta
#A0025C
ΔE00 5.52
Dark Fuchsia
#9D0759
ΔE00 5.90
Violet Red
#A50055
ΔE00 5.96
Red Violet
#9E0168
ΔE00 6.08
Mediumvioletred
#C71585
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2E6D #2EAB6C
analogous
#AB2EAB #AB2E6D #AB2E2E
triadic
#AB2E6D #6DAB2E #2E6DAB
tetradic
#AB2E6D #ABAB2E #2EAB6C #2E2EAB
square
#AB2E6D #ABAB2E #2EAB6C #2E2EAB
split-complementary
#AB2E6D #2EAB2E #2EABAB
monochromatic
#4B1430 #7B214E #AB2E6D #CE488C #DB79AA
Accessibility & contrast
On white
6.28
#AB2E6D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#AB2E6D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2E6D
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2E6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2E6D | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#45516F
Deuteranopia (green-blind)
#68686A
Tritanopia (blue-blind)
#B82249
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #ab2e6d; /* rgb */ color: rgb(171, 46, 109); /* oklch */ color: oklch(51.2% 0.171 354.1);
Tailwind
colors: {
custom: {
50: '#c97296',
500: '#ab2e6d',
950: '#000000',
},
}SCSS
$custom: #ab2e6d; $custom-light: #c97296; $custom-dark: #000000;
JSON
{
"hex": "#ab2e6d",
"rgb": {
"r": 171,
"g": 46,
"b": 109
},
"hsl": {
"h": 329.76,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.51183,
"c": 0.17053,
"h": 354.1
},
"luminance": 0.11716
}Semantic roles & 50–950 ramp
primary
#AB2E6D
secondary
#72C39A
accent
#E19347
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E