#AB284B#AB284B
#AB284B is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.167 H 10.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #AB284B |
|---|---|
| RGB | rgb(171, 40, 75) |
| HSL | hsl(344, 62%, 41%) |
| HSV | hsv(344, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 56.1%, 32.9%) |
| CIE-LAB | lab(39.05, 54.18, 12.11) |
| CIE-LCH | lch(39.05, 55.52, 12.60°) |
| OKLab | oklab(49.59% 0.1642 0.0305) |
| OKLCH | oklch(49.59% 0.167 10.5) |
| XYZ | xyz(18.8252, 10.6862, 7.7266) |
| Luminance | 0.1068 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.00
Purplish Red
#B0054B
ΔE00 3.04
Rouge
#AB1239
ΔE00 4.48
Light Burgundy
#A8415B
ΔE00 4.80
Cranberry
#9E003A
ΔE00 5.16
Rose Red
#BE013C
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB284B #28AB88
analogous
#AB288D #AB284B #AB4628
triadic
#AB284B #4BAB28 #284BAB
tetradic
#AB284B #8DAB28 #28AB88 #4628AB
square
#AB284B #8DAB28 #28AB88 #4628AB
split-complementary
#AB284B #28AB46 #288DAB
monochromatic
#48111F #791C35 #AB284B #D23E66 #DE708D
Accessibility & contrast
On white
6.69
#AB284B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#AB284B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB284B
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB284B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB284B | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4B4C
Deuteranopia (green-blind)
#6D6648
Tritanopia (blue-blind)
#BB0037
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab284b; /* rgb */ color: rgb(171, 40, 75); /* oklch */ color: oklch(49.6% 0.167 10.5);
Tailwind
colors: {
custom: {
50: '#ca6e7d',
500: '#ab284b',
950: '#000000',
},
}SCSS
$custom: #ab284b; $custom-light: #ca6e7d; $custom-dark: #000000;
JSON
{
"hex": "#ab284b",
"rgb": {
"r": 171,
"g": 40,
"b": 75
},
"hsl": {
"h": 343.969,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.49594,
"c": 0.16704,
"h": 10.5
},
"luminance": 0.10684
}Semantic roles & 50–950 ramp
primary
#AB284B
secondary
#6AC4AC
accent
#E5BA43
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B