#AB2758#AB2758
#AB2758 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.171 H 3.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2758 |
|---|---|
| RGB | rgb(171, 39, 88) |
| HSL | hsl(338, 63%, 41%) |
| HSV | hsv(338, 77%, 67%) |
| CMYK | cmyk(0%, 77.2%, 48.5%, 32.9%) |
| CIE-LAB | lab(39.27, 55.57, 4.15) |
| CIE-LCH | lch(39.27, 55.72, 4.28°) |
| OKLab | oklab(49.87% 0.1702 0.0112) |
| OKLCH | oklch(49.87% 0.171 3.8) |
| XYZ | xyz(19.2832, 10.8162, 10.3029) |
| Luminance | 0.1081 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.57
Raspberry (survey)
#B00149
ΔE00 4.03
Violet Red
#A50055
ΔE00 4.18
Light Burgundy
#A8415B
ΔE00 4.82
Berry
#990F4B
ΔE00 5.10
Deep Pink
#CB0162
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2758 #27AB7A
analogous
#AB279A #AB2758 #AB3827
triadic
#AB2758 #58AB27 #2758AB
tetradic
#AB2758 #9AAB27 #27AB7A #3827AB
square
#AB2758 #9AAB27 #27AB7A #3827AB
split-complementary
#AB2758 #27AB38 #279AAB
monochromatic
#471025 #791C3E #AB2758 #D33D74 #DE6E98
Accessibility & contrast
On white
6.64
#AB2758 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#AB2758 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2758
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2758 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2758 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474C59
Deuteranopia (green-blind)
#6A6655
Tritanopia (blue-blind)
#BA043C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2758; /* rgb */ color: rgb(171, 39, 88); /* oklch */ color: oklch(49.9% 0.171 3.8);
Tailwind
colors: {
custom: {
50: '#ca6e86',
500: '#ab2758',
950: '#000000',
},
}SCSS
$custom: #ab2758; $custom-light: #ca6e86; $custom-dark: #000000;
JSON
{
"hex": "#ab2758",
"rgb": {
"r": 171,
"g": 39,
"b": 88
},
"hsl": {
"h": 337.727,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.49867,
"c": 0.17056,
"h": 3.8
},
"luminance": 0.10814
}Semantic roles & 50–950 ramp
primary
#AB2758
secondary
#69C5A3
accent
#E6A942
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C