#A5284E#A5284E
#A5284E is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.162 H 7.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A5284E |
|---|---|
| RGB | rgb(165, 40, 78) |
| HSL | hsl(342, 61%, 40%) |
| HSV | hsv(342, 76%, 65%) |
| CMYK | cmyk(0%, 75.8%, 52.7%, 35.3%) |
| CIE-LAB | lab(37.97, 52.66, 8.52) |
| CIE-LCH | lch(37.97, 53.34, 9.19°) |
| OKLab | oklab(48.61% 0.1604 0.0219) |
| OKLCH | oklch(48.61% 0.162 7.8) |
| XYZ | xyz(17.6526, 10.0694, 8.2203) |
| Luminance | 0.1007 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.81
Raspberry (survey)
#B00149
ΔE00 3.00
Light Burgundy
#A8415B
ΔE00 4.79
Berry
#990F4B
ΔE00 4.87
Cranberry
#9E003A
ΔE00 5.08
Purple Red
#990147
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5284E #28A57F
analogous
#A5288C #A5284E #A54028
triadic
#A5284E #4EA528 #284EA5
tetradic
#A5284E #8CA528 #28A57F #4028A5
square
#A5284E #8CA528 #28A57F #4028A5
split-complementary
#A5284E #28A540 #288CA5
monochromatic
#42101F #741C37 #A5284E #CF3B68 #DB6C8E
Accessibility & contrast
On white
6.97
#A5284E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#A5284E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5284E
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5284E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5284E | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48494F
Deuteranopia (green-blind)
#68624B
Tritanopia (blue-blind)
#B40538
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a5284e; /* rgb */ color: rgb(165, 40, 78); /* oklch */ color: oklch(48.6% 0.162 7.8);
Tailwind
colors: {
custom: {
50: '#c66d7f',
500: '#a5284e',
950: '#000000',
},
}SCSS
$custom: #a5284e; $custom-light: #c66d7f; $custom-dark: #000000;
JSON
{
"hex": "#a5284e",
"rgb": {
"r": 165,
"g": 40,
"b": 78
},
"hsl": {
"h": 341.76,
"s": 60.976,
"l": 40.196
},
"oklch": {
"l": 0.48611,
"c": 0.16187,
"h": 7.8
},
"luminance": 0.10067
}Semantic roles & 50–950 ramp
primary
#A5284E
secondary
#67C2A6
accent
#E4B344
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C