#AB2751#AB2751
#AB2751 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.169 H 7.3°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2751 |
|---|---|
| RGB | rgb(171, 39, 81) |
| HSL | hsl(341, 63%, 41%) |
| HSV | hsv(341, 77%, 67%) |
| CMYK | cmyk(0%, 77.2%, 52.6%, 32.9%) |
| CIE-LAB | lab(39.08, 54.97, 8.34) |
| CIE-LCH | lch(39.08, 55.60, 8.62°) |
| OKLab | oklab(49.67% 0.1676 0.0215) |
| OKLCH | oklch(49.67% 0.169 7.3) |
| XYZ | xyz(19.0070, 10.7057, 8.8485) |
| Luminance | 0.1070 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.52
Raspberry (survey)
#B00149
ΔE00 2.80
Light Burgundy
#A8415B
ΔE00 4.45
Violet Red
#A50055
ΔE00 5.43
Berry
#990F4B
ΔE00 5.52
Cranberry
#9E003A
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2751 #27AB81
analogous
#AB2793 #AB2751 #AB3F27
triadic
#AB2751 #51AB27 #2751AB
tetradic
#AB2751 #93AB27 #27AB81 #3F27AB
square
#AB2751 #93AB27 #27AB81 #3F27AB
split-complementary
#AB2751 #27AB3F #2793AB
monochromatic
#471022 #791C39 #AB2751 #D33D6C #DE6E92
Accessibility & contrast
On white
6.69
#AB2751 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#AB2751 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2751
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2751 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2751 | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494B52
Deuteranopia (green-blind)
#6B664E
Tritanopia (blue-blind)
#BB0039
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2751; /* rgb */ color: rgb(171, 39, 81); /* oklch */ color: oklch(49.7% 0.169 7.3);
Tailwind
colors: {
custom: {
50: '#ca6e81',
500: '#ab2751',
950: '#000000',
},
}SCSS
$custom: #ab2751; $custom-light: #ca6e81; $custom-dark: #000000;
JSON
{
"hex": "#ab2751",
"rgb": {
"r": 171,
"g": 39,
"b": 81
},
"hsl": {
"h": 340.909,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.49667,
"c": 0.16896,
"h": 7.3
},
"luminance": 0.10703
}Semantic roles & 50–950 ramp
primary
#AB2751
secondary
#69C5A8
accent
#E6B242
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C