#A5284F#A5284F
#A5284F is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.162 H 7.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A5284F |
|---|---|
| RGB | rgb(165, 40, 79) |
| HSL | hsl(341, 61%, 40%) |
| HSV | hsv(341, 76%, 65%) |
| CMYK | cmyk(0%, 75.8%, 52.1%, 35.3%) |
| CIE-LAB | lab(37.99, 52.74, 7.91) |
| CIE-LCH | lch(37.99, 53.33, 8.53°) |
| OKLab | oklab(48.64% 0.1608 0.0205) |
| OKLCH | oklch(48.64% 0.162 7.3) |
| XYZ | xyz(17.6887, 10.0839, 8.4106) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.84
Raspberry (survey)
#B00149
ΔE00 3.07
Berry
#990F4B
ΔE00 4.72
Light Burgundy
#A8415B
ΔE00 4.76
Purple Red
#990147
ΔE00 5.12
Violet Red
#A50055
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5284F #28A57E
analogous
#A5288D #A5284F #A53F28
triadic
#A5284F #4FA528 #284FA5
tetradic
#A5284F #8DA528 #28A57E #3F28A5
square
#A5284F #8DA528 #28A57E #3F28A5
split-complementary
#A5284F #28A53F #288DA5
monochromatic
#421020 #741C37 #A5284F #CF3B69 #DB6C8F
Accessibility & contrast
On white
6.96
#A5284F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#A5284F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5284F
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5284F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5284F | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474950
Deuteranopia (green-blind)
#68624C
Tritanopia (blue-blind)
#B40638
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a5284f; /* rgb */ color: rgb(165, 40, 79); /* oklch */ color: oklch(48.6% 0.162 7.3);
Tailwind
colors: {
custom: {
50: '#c66d80',
500: '#a5284f',
950: '#000000',
},
}SCSS
$custom: #a5284f; $custom-light: #c66d80; $custom-dark: #000000;
JSON
{
"hex": "#a5284f",
"rgb": {
"r": 165,
"g": 40,
"b": 79
},
"hsl": {
"h": 341.28,
"s": 60.976,
"l": 40.196
},
"oklch": {
"l": 0.48638,
"c": 0.16206,
"h": 7.3
},
"luminance": 0.10081
}Semantic roles & 50–950 ramp
primary
#A5284F
secondary
#67C2A6
accent
#E4B244
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C