#AB2754#AB2754
#AB2754 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.170 H 5.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2754 |
|---|---|
| RGB | rgb(171, 39, 84) |
| HSL | hsl(340, 63%, 41%) |
| HSV | hsv(340, 77%, 67%) |
| CMYK | cmyk(0%, 77.2%, 50.9%, 32.9%) |
| CIE-LAB | lab(39.16, 55.22, 6.54) |
| CIE-LCH | lch(39.16, 55.61, 6.75°) |
| OKLab | oklab(49.75% 0.1687 0.0171) |
| OKLCH | oklch(49.75% 0.17 5.8) |
| XYZ | xyz(19.1220, 10.7517, 9.4542) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.83
Raspberry (survey)
#B00149
ΔE00 3.22
Light Burgundy
#A8415B
ΔE00 4.50
Violet Red
#A50055
ΔE00 4.81
Berry
#990F4B
ΔE00 5.23
Purple Red
#990147
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2754 #27AB7E
analogous
#AB2796 #AB2754 #AB3C27
triadic
#AB2754 #54AB27 #2754AB
tetradic
#AB2754 #96AB27 #27AB7E #3C27AB
square
#AB2754 #96AB27 #27AB7E #3C27AB
split-complementary
#AB2754 #27AB3C #2796AB
monochromatic
#471023 #791C3C #AB2754 #D33D70 #DE6E94
Accessibility & contrast
On white
6.67
#AB2754 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#AB2754 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2754
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2754 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2754 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484C55
Deuteranopia (green-blind)
#6B6651
Tritanopia (blue-blind)
#BA003A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2754; /* rgb */ color: rgb(171, 39, 84); /* oklch */ color: oklch(49.8% 0.170 5.8);
Tailwind
colors: {
custom: {
50: '#ca6e83',
500: '#ab2754',
950: '#000000',
},
}SCSS
$custom: #ab2754; $custom-light: #ca6e83; $custom-dark: #000000;
JSON
{
"hex": "#ab2754",
"rgb": {
"r": 171,
"g": 39,
"b": 84
},
"hsl": {
"h": 339.545,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.4975,
"c": 0.16959,
"h": 5.8
},
"luminance": 0.10749
}Semantic roles & 50–950 ramp
primary
#AB2754
secondary
#69C5A5
accent
#E6AE42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080A
muted
#837B7C