#AB284A#AB284A
#AB284A is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.167 H 11.0°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #AB284A |
|---|---|
| RGB | rgb(171, 40, 74) |
| HSL | hsl(344, 62%, 41%) |
| HSV | hsv(344, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 56.7%, 32.9%) |
| CIE-LAB | lab(39.02, 54.11, 12.71) |
| CIE-LCH | lch(39.02, 55.58, 13.22°) |
| OKLab | oklab(49.57% 0.1638 0.0319) |
| OKLCH | oklch(49.57% 0.167 11) |
| XYZ | xyz(18.7912, 10.6726, 7.5478) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.13
Purplish Red
#B0054B
ΔE00 3.21
Rouge
#AB1239
ΔE00 4.21
Light Burgundy
#A8415B
ΔE00 4.94
Cranberry
#9E003A
ΔE00 5.10
Rose Red
#BE013C
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB284A #28AB89
analogous
#AB288C #AB284A #AB4728
triadic
#AB284A #4AAB28 #284AAB
tetradic
#AB284A #8CAB28 #28AB89 #4728AB
square
#AB284A #8CAB28 #28AB89 #4728AB
split-complementary
#AB284A #28AB47 #288CAB
monochromatic
#48111F #791C35 #AB284A #D23E65 #DE708C
Accessibility & contrast
On white
6.70
#AB284A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#AB284A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB284A
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB284A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB284A | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4B4B
Deuteranopia (green-blind)
#6D6647
Tritanopia (blue-blind)
#BB0036
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab284a; /* rgb */ color: rgb(171, 40, 74); /* oklch */ color: oklch(49.6% 0.167 11.0);
Tailwind
colors: {
custom: {
50: '#ca6e7c',
500: '#ab284a',
950: '#000000',
},
}SCSS
$custom: #ab284a; $custom-light: #ca6e7c; $custom-dark: #000000;
JSON
{
"hex": "#ab284a",
"rgb": {
"r": 171,
"g": 40,
"b": 74
},
"hsl": {
"h": 344.427,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.49569,
"c": 0.16691,
"h": 11
},
"luminance": 0.1067
}Semantic roles & 50–950 ramp
primary
#AB284A
secondary
#6AC4AD
accent
#E5BB43
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B