#AB285E#AB285E
#AB285E is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.171 H 0.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #AB285E |
|---|---|
| RGB | rgb(171, 40, 94) |
| HSL | hsl(335, 62%, 41%) |
| HSV | hsv(335, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 45%, 32.9%) |
| CIE-LAB | lab(39.56, 55.80, 0.77) |
| CIE-LCH | lch(39.56, 55.81, 0.79°) |
| OKLab | oklab(50.14% 0.1713 0.0026) |
| OKLCH | oklch(50.14% 0.171 0.9) |
| XYZ | xyz(19.5753, 10.9863, 11.6773) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.93
Purplish Red
#B0054B
ΔE00 4.97
Deep Magenta
#A0025C
ΔE00 5.24
Dark Fuchsia
#9D0759
ΔE00 5.27
Raspberry (survey)
#B00149
ΔE00 5.45
Berry
#990F4B
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB285E #28AB75
analogous
#AB28A0 #AB285E #AB3428
triadic
#AB285E #5EAB28 #285EAB
tetradic
#AB285E #A0AB28 #28AB75 #3428AB
square
#AB285E #A0AB28 #28AB75 #3428AB
split-complementary
#AB285E #28AB34 #28A0AB
monochromatic
#481127 #791C43 #AB285E #D23E7B #DE709D
Accessibility & contrast
On white
6.57
#AB285E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#AB285E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB285E
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB285E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB285E | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464D5F
Deuteranopia (green-blind)
#69665B
Tritanopia (blue-blind)
#BA0E40
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab285e; /* rgb */ color: rgb(171, 40, 94); /* oklch */ color: oklch(50.1% 0.171 0.9);
Tailwind
colors: {
custom: {
50: '#c96f8b',
500: '#ab285e',
950: '#000000',
},
}SCSS
$custom: #ab285e; $custom-light: #c96f8b; $custom-dark: #000000;
JSON
{
"hex": "#ab285e",
"rgb": {
"r": 171,
"g": 40,
"b": 94
},
"hsl": {
"h": 335.267,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.50136,
"c": 0.17131,
"h": 0.9
},
"luminance": 0.10984
}Semantic roles & 50–950 ramp
primary
#AB285E
secondary
#6AC49F
accent
#E5A243
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D