#AB285A#AB285A
#AB285A is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.170 H 2.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AB285A |
|---|---|
| RGB | rgb(171, 40, 90) |
| HSL | hsl(337, 62%, 41%) |
| HSV | hsv(337, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 47.4%, 32.9%) |
| CIE-LAB | lab(39.44, 55.43, 3.13) |
| CIE-LCH | lch(39.44, 55.52, 3.23°) |
| OKLab | oklab(50.01% 0.1699 0.0086) |
| OKLCH | oklch(50.01% 0.17 2.9) |
| XYZ | xyz(19.4004, 10.9163, 10.7563) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.03
Violet Red
#A50055
ΔE00 4.12
Raspberry (survey)
#B00149
ΔE00 4.50
Light Burgundy
#A8415B
ΔE00 4.91
Berry
#990F4B
ΔE00 5.23
Deep Pink
#CB0162
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB285A #28AB79
analogous
#AB289C #AB285A #AB3828
triadic
#AB285A #5AAB28 #285AAB
tetradic
#AB285A #9CAB28 #28AB79 #3828AB
square
#AB285A #9CAB28 #28AB79 #3828AB
split-complementary
#AB285A #28AB38 #289CAB
monochromatic
#481126 #791C40 #AB285A #D23E77 #DE709A
Accessibility & contrast
On white
6.60
#AB285A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AB285A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB285A
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB285A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB285A | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474D5B
Deuteranopia (green-blind)
#6A6657
Tritanopia (blue-blind)
#BA0A3E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab285a; /* rgb */ color: rgb(171, 40, 90); /* oklch */ color: oklch(50.0% 0.170 2.9);
Tailwind
colors: {
custom: {
50: '#ca6f88',
500: '#ab285a',
950: '#000000',
},
}SCSS
$custom: #ab285a; $custom-light: #ca6f88; $custom-dark: #000000;
JSON
{
"hex": "#ab285a",
"rgb": {
"r": 171,
"g": 40,
"b": 90
},
"hsl": {
"h": 337.099,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.50011,
"c": 0.17011,
"h": 2.9
},
"luminance": 0.10914
}Semantic roles & 50–950 ramp
primary
#AB285A
secondary
#6AC4A2
accent
#E5A743
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C