#A5284B#A5284B
#A5284B is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.161 H 9.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A5284B |
|---|---|
| RGB | rgb(165, 40, 75) |
| HSL | hsl(343, 61%, 40%) |
| HSV | hsv(343, 76%, 65%) |
| CMYK | cmyk(0%, 75.8%, 54.5%, 35.3%) |
| CIE-LAB | lab(37.89, 52.41, 10.33) |
| CIE-LCH | lch(37.89, 53.42, 11.15°) |
| OKLab | oklab(48.53% 0.1592 0.0263) |
| OKLCH | oklch(48.53% 0.161 9.4) |
| XYZ | xyz(17.5475, 10.0274, 7.6667) |
| Luminance | 0.1003 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.94
Raspberry (survey)
#B00149
ΔE00 2.97
Cranberry
#9E003A
ΔE00 4.61
Light Burgundy
#A8415B
ΔE00 4.97
Rouge
#AB1239
ΔE00 5.02
Berry
#990F4B
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5284B #28A582
analogous
#A52889 #A5284B #A54328
triadic
#A5284B #4BA528 #284BA5
tetradic
#A5284B #89A528 #28A582 #4328A5
square
#A5284B #89A528 #28A582 #4328A5
split-complementary
#A5284B #28A543 #2889A5
monochromatic
#42101E #741C35 #A5284B #CF3B64 #DB6C8B
Accessibility & contrast
On white
6.99
#A5284B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#A5284B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5284B
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5284B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5284B | 1.00 | 6.99 | 3.01 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48494C
Deuteranopia (green-blind)
#696248
Tritanopia (blue-blind)
#B40237
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a5284b; /* rgb */ color: rgb(165, 40, 75); /* oklch */ color: oklch(48.5% 0.161 9.4);
Tailwind
colors: {
custom: {
50: '#c66d7d',
500: '#a5284b',
950: '#000000',
},
}SCSS
$custom: #a5284b; $custom-light: #c66d7d; $custom-dark: #000000;
JSON
{
"hex": "#a5284b",
"rgb": {
"r": 165,
"g": 40,
"b": 75
},
"hsl": {
"h": 343.2,
"s": 60.976,
"l": 40.196
},
"oklch": {
"l": 0.48531,
"c": 0.16136,
"h": 9.4
},
"luminance": 0.10025
}Semantic roles & 50–950 ramp
primary
#A5284B
secondary
#67C2A8
accent
#E4B744
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140809
muted
#827B7B