#AB2757#AB2757
#AB2757 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.170 H 4.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2757 |
|---|---|
| RGB | rgb(171, 39, 87) |
| HSL | hsl(338, 63%, 41%) |
| HSV | hsv(338, 77%, 67%) |
| CMYK | cmyk(0%, 77.2%, 49.1%, 32.9%) |
| CIE-LAB | lab(39.24, 55.48, 4.75) |
| CIE-LCH | lch(39.24, 55.69, 4.89°) |
| OKLab | oklab(49.84% 0.1698 0.0127) |
| OKLCH | oklch(49.84% 0.17 4.3) |
| XYZ | xyz(19.2421, 10.7997, 10.0863) |
| Luminance | 0.1080 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.37
Raspberry (survey)
#B00149
ΔE00 3.81
Violet Red
#A50055
ΔE00 4.32
Light Burgundy
#A8415B
ΔE00 4.72
Berry
#990F4B
ΔE00 5.11
Deep Pink
#CB0162
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2757 #27AB7B
analogous
#AB2799 #AB2757 #AB3927
triadic
#AB2757 #57AB27 #2757AB
tetradic
#AB2757 #99AB27 #27AB7B #3927AB
square
#AB2757 #99AB27 #27AB7B #3927AB
split-complementary
#AB2757 #27AB39 #2799AB
monochromatic
#471024 #791C3E #AB2757 #D33D73 #DE6E97
Accessibility & contrast
On white
6.65
#AB2757 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#AB2757 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2757
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2757 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2757 | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474C58
Deuteranopia (green-blind)
#6A6654
Tritanopia (blue-blind)
#BA033C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2757; /* rgb */ color: rgb(171, 39, 87); /* oklch */ color: oklch(49.8% 0.170 4.3);
Tailwind
colors: {
custom: {
50: '#ca6e86',
500: '#ab2757',
950: '#000000',
},
}SCSS
$custom: #ab2757; $custom-light: #ca6e86; $custom-dark: #000000;
JSON
{
"hex": "#ab2757",
"rgb": {
"r": 171,
"g": 39,
"b": 87
},
"hsl": {
"h": 338.182,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.49837,
"c": 0.1703,
"h": 4.3
},
"luminance": 0.10797
}Semantic roles & 50–950 ramp
primary
#AB2757
secondary
#69C5A3
accent
#E6AA42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C