#A5285A#A5285A
#A5285A is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.165 H 1.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A5285A |
|---|---|
| RGB | rgb(165, 40, 90) |
| HSL | hsl(336, 61%, 40%) |
| HSV | hsv(336, 76%, 65%) |
| CMYK | cmyk(0%, 75.8%, 45.5%, 35.3%) |
| CIE-LAB | lab(38.30, 53.73, 1.34) |
| CIE-LCH | lch(38.30, 53.74, 1.43°) |
| OKLab | oklab(48.97% 0.1648 0.0041) |
| OKLCH | oklch(48.97% 0.165 1.4) |
| XYZ | xyz(18.1227, 10.2575, 10.6964) |
| Luminance | 0.1026 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.35
Berry
#990F4B
ΔE00 4.39
Dark Fuchsia
#9D0759
ΔE00 4.66
Purplish Red
#B0054B
ΔE00 4.72
Deep Magenta
#A0025C
ΔE00 4.80
Raspberry (survey)
#B00149
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5285A #28A573
analogous
#A52899 #A5285A #A53428
triadic
#A5285A #5AA528 #285AA5
tetradic
#A5285A #99A528 #28A573 #3428A5
square
#A5285A #99A528 #28A573 #3428A5
split-complementary
#A5285A #28A534 #2899A5
monochromatic
#421024 #741C3F #A5285A #CF3B76 #DB6C99
Accessibility & contrast
On white
6.88
#A5285A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#A5285A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5285A
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5285A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5285A | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454B5B
Deuteranopia (green-blind)
#666357
Tritanopia (blue-blind)
#B3103E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a5285a; /* rgb */ color: rgb(165, 40, 90); /* oklch */ color: oklch(49.0% 0.165 1.4);
Tailwind
colors: {
custom: {
50: '#c56e88',
500: '#a5285a',
950: '#000000',
},
}SCSS
$custom: #a5285a; $custom-light: #c56e88; $custom-dark: #000000;
JSON
{
"hex": "#a5285a",
"rgb": {
"r": 165,
"g": 40,
"b": 90
},
"hsl": {
"h": 336,
"s": 60.976,
"l": 40.196
},
"oklch": {
"l": 0.48966,
"c": 0.16486,
"h": 1.4
},
"luminance": 0.10255
}Semantic roles & 50–950 ramp
primary
#A5285A
secondary
#67C29D
accent
#E4A444
background
#FCF7F8
surface
#F9EDEF
border
#D2C8CA
text
#14080B
muted
#827B7C