#AB2657#AB2657
#AB2657 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.171 H 4.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2657 |
|---|---|
| RGB | rgb(171, 38, 87) |
| HSL | hsl(338, 64%, 41%) |
| HSV | hsv(338, 78%, 67%) |
| CMYK | cmyk(0%, 77.8%, 49.1%, 32.9%) |
| CIE-LAB | lab(39.13, 55.79, 4.59) |
| CIE-LCH | lch(39.13, 55.98, 4.70°) |
| OKLab | oklab(49.76% 0.1708 0.0123) |
| OKLCH | oklch(49.76% 0.171 4.1) |
| XYZ | xyz(19.2097, 10.7349, 10.0755) |
| Luminance | 0.1073 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.34
Raspberry (survey)
#B00149
ΔE00 3.79
Violet Red
#A50055
ΔE00 4.16
Light Burgundy
#A8415B
ΔE00 4.87
Berry
#990F4B
ΔE00 5.00
Purple Red
#990147
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2657 #26AB7A
analogous
#AB2699 #AB2657 #AB3826
triadic
#AB2657 #57AB26 #2657AB
tetradic
#AB2657 #99AB26 #26AB7A #3826AB
square
#AB2657 #99AB26 #26AB7A #3826AB
split-complementary
#AB2657 #26AB38 #2699AB
monochromatic
#471024 #791B3E #AB2657 #D33B73 #DF6D97
Accessibility & contrast
On white
6.67
#AB2657 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#AB2657 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2657
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2657 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2657 | 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)
#474C58
Deuteranopia (green-blind)
#6A6654
Tritanopia (blue-blind)
#BA013B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2657; /* rgb */ color: rgb(171, 38, 87); /* oklch */ color: oklch(49.8% 0.171 4.1);
Tailwind
colors: {
custom: {
50: '#ca6e86',
500: '#ab2657',
950: '#000000',
},
}SCSS
$custom: #ab2657; $custom-light: #ca6e86; $custom-dark: #000000;
JSON
{
"hex": "#ab2657",
"rgb": {
"r": 171,
"g": 38,
"b": 87
},
"hsl": {
"h": 337.895,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.49756,
"c": 0.17127,
"h": 4.1
},
"luminance": 0.10732
}Semantic roles & 50–950 ramp
primary
#AB2657
secondary
#68C5A3
accent
#E7AA41
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C