#A5284D#A5284D
#A5284D is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.162 H 8.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A5284D |
|---|---|
| RGB | rgb(165, 40, 77) |
| HSL | hsl(342, 61%, 40%) |
| HSV | hsv(342, 76%, 65%) |
| CMYK | cmyk(0%, 75.8%, 53.3%, 35.3%) |
| CIE-LAB | lab(37.94, 52.58, 9.12) |
| CIE-LCH | lch(37.94, 53.36, 9.84°) |
| OKLab | oklab(48.58% 0.16 0.0234) |
| OKLCH | oklch(48.58% 0.162 8.3) |
| XYZ | xyz(17.6170, 10.0552, 8.0329) |
| Luminance | 0.1005 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.81
Raspberry (survey)
#B00149
ΔE00 2.95
Light Burgundy
#A8415B
ΔE00 4.83
Cranberry
#9E003A
ΔE00 4.91
Berry
#990F4B
ΔE00 5.04
Purple Red
#990147
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5284D #28A580
analogous
#A5288B #A5284D #A54128
triadic
#A5284D #4DA528 #284DA5
tetradic
#A5284D #8BA528 #28A580 #4128A5
square
#A5284D #8BA528 #28A580 #4128A5
split-complementary
#A5284D #28A541 #288BA5
monochromatic
#42101F #741C36 #A5284D #CF3B67 #DB6C8D
Accessibility & contrast
On white
6.98
#A5284D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#A5284D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5284D
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5284D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5284D | 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)
#48494E
Deuteranopia (green-blind)
#68624A
Tritanopia (blue-blind)
#B40438
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a5284d; /* rgb */ color: rgb(165, 40, 77); /* oklch */ color: oklch(48.6% 0.162 8.3);
Tailwind
colors: {
custom: {
50: '#c66d7e',
500: '#a5284d',
950: '#000000',
},
}SCSS
$custom: #a5284d; $custom-light: #c66d7e; $custom-dark: #000000;
JSON
{
"hex": "#a5284d",
"rgb": {
"r": 165,
"g": 40,
"b": 77
},
"hsl": {
"h": 342.24,
"s": 60.976,
"l": 40.196
},
"oklch": {
"l": 0.48584,
"c": 0.16169,
"h": 8.3
},
"luminance": 0.10053
}Semantic roles & 50–950 ramp
primary
#A5284D
secondary
#67C2A7
accent
#E4B544
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140809
muted
#827B7B