#A5284C#A5284C
#A5284C is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.162 H 8.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A5284C |
|---|---|
| RGB | rgb(165, 40, 76) |
| HSL | hsl(343, 61%, 40%) |
| HSV | hsv(343, 76%, 65%) |
| CMYK | cmyk(0%, 75.8%, 53.9%, 35.3%) |
| CIE-LAB | lab(37.92, 52.49, 9.72) |
| CIE-LCH | lch(37.92, 53.39, 10.49°) |
| OKLab | oklab(48.56% 0.1596 0.0248) |
| OKLCH | oklch(48.56% 0.162 8.8) |
| XYZ | xyz(17.5820, 10.0412, 7.8484) |
| Luminance | 0.1004 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.86
Raspberry (survey)
#B00149
ΔE00 2.94
Cranberry
#9E003A
ΔE00 4.75
Light Burgundy
#A8415B
ΔE00 4.89
Berry
#990F4B
ΔE00 5.23
Rouge
#AB1239
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5284C #28A581
analogous
#A5288A #A5284C #A54228
triadic
#A5284C #4CA528 #284CA5
tetradic
#A5284C #8AA528 #28A581 #4228A5
square
#A5284C #8AA528 #28A581 #4228A5
split-complementary
#A5284C #28A542 #288AA5
monochromatic
#42101F #741C35 #A5284C #CF3B66 #DB6C8C
Accessibility & contrast
On white
6.98
#A5284C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#A5284C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5284C
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5284C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5284C | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48494D
Deuteranopia (green-blind)
#696249
Tritanopia (blue-blind)
#B40337
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a5284c; /* rgb */ color: rgb(165, 40, 76); /* oklch */ color: oklch(48.6% 0.162 8.8);
Tailwind
colors: {
custom: {
50: '#c66d7d',
500: '#a5284c',
950: '#000000',
},
}SCSS
$custom: #a5284c; $custom-light: #c66d7d; $custom-dark: #000000;
JSON
{
"hex": "#a5284c",
"rgb": {
"r": 165,
"g": 40,
"b": 76
},
"hsl": {
"h": 342.72,
"s": 60.976,
"l": 40.196
},
"oklch": {
"l": 0.48557,
"c": 0.16152,
"h": 8.8
},
"luminance": 0.10039
}Semantic roles & 50–950 ramp
primary
#A5284C
secondary
#67C2A8
accent
#E4B644
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140809
muted
#827B7B