#AB284F#AB284F
#AB284F is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.168 H 8.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #AB284F |
|---|---|
| RGB | rgb(171, 40, 79) |
| HSL | hsl(342, 62%, 41%) |
| HSV | hsv(342, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 53.8%, 32.9%) |
| CIE-LAB | lab(39.14, 54.49, 9.70) |
| CIE-LCH | lch(39.14, 55.35, 10.09°) |
| OKLab | oklab(49.7% 0.1658 0.0248) |
| OKLCH | oklch(49.7% 0.168 8.5) |
| XYZ | xyz(18.9664, 10.7427, 8.4705) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.62
Raspberry (survey)
#B00149
ΔE00 2.79
Light Burgundy
#A8415B
ΔE00 4.40
Cranberry
#9E003A
ΔE00 5.60
Rouge
#AB1239
ΔE00 5.62
Berry
#990F4B
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB284F #28AB84
analogous
#AB2891 #AB284F #AB4328
triadic
#AB284F #4FAB28 #284FAB
tetradic
#AB284F #91AB28 #28AB84 #4328AB
square
#AB284F #91AB28 #28AB84 #4328AB
split-complementary
#AB284F #28AB43 #2891AB
monochromatic
#481121 #791C38 #AB284F #D23E6A #DE7091
Accessibility & contrast
On white
6.67
#AB284F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#AB284F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB284F
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB284F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB284F | 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)
#4A4B50
Deuteranopia (green-blind)
#6C664C
Tritanopia (blue-blind)
#BB0039
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab284f; /* rgb */ color: rgb(171, 40, 79); /* oklch */ color: oklch(49.7% 0.168 8.5);
Tailwind
colors: {
custom: {
50: '#ca6e80',
500: '#ab284f',
950: '#000000',
},
}SCSS
$custom: #ab284f; $custom-light: #ca6e80; $custom-dark: #000000;
JSON
{
"hex": "#ab284f",
"rgb": {
"r": 171,
"g": 40,
"b": 79
},
"hsl": {
"h": 342.137,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.49697,
"c": 0.16763,
"h": 8.5
},
"luminance": 0.1074
}Semantic roles & 50–950 ramp
primary
#AB284F
secondary
#6AC4AA
accent
#E5B543
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C