#A5285B#A5285B
#A5285B is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.165 H 0.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A5285B |
|---|---|
| RGB | rgb(165, 40, 91) |
| HSL | hsl(336, 61%, 40%) |
| HSV | hsv(336, 76%, 65%) |
| CMYK | cmyk(0%, 75.8%, 44.8%, 35.3%) |
| CIE-LAB | lab(38.33, 53.83, 0.75) |
| CIE-LCH | lch(38.33, 53.83, 0.79°) |
| OKLab | oklab(49% 0.1652 0.0025) |
| OKLCH | oklch(49% 0.165 0.9) |
| XYZ | xyz(18.1656, 10.2746, 10.9221) |
| Luminance | 0.1027 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.31
Berry
#990F4B
ΔE00 4.48
Dark Fuchsia
#9D0759
ΔE00 4.51
Deep Magenta
#A0025C
ΔE00 4.63
Purplish Red
#B0054B
ΔE00 4.96
Purple Red
#990147
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5285B #28A572
analogous
#A5289A #A5285B #A53328
triadic
#A5285B #5BA528 #285BA5
tetradic
#A5285B #9AA528 #28A572 #3328A5
square
#A5285B #9AA528 #28A572 #3328A5
split-complementary
#A5285B #28A533 #289AA5
monochromatic
#421025 #741C40 #A5285B #CF3B77 #DB6C99
Accessibility & contrast
On white
6.88
#A5285B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#A5285B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5285B
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5285B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5285B | 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)
#444B5C
Deuteranopia (green-blind)
#666358
Tritanopia (blue-blind)
#B3113E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a5285b; /* rgb */ color: rgb(165, 40, 91); /* oklch */ color: oklch(49.0% 0.165 0.9);
Tailwind
colors: {
custom: {
50: '#c56e89',
500: '#a5285b',
950: '#000000',
},
}SCSS
$custom: #a5285b; $custom-light: #c56e89; $custom-dark: #000000;
JSON
{
"hex": "#a5285b",
"rgb": {
"r": 165,
"g": 40,
"b": 91
},
"hsl": {
"h": 335.52,
"s": 60.976,
"l": 40.196
},
"oklch": {
"l": 0.48998,
"c": 0.16518,
"h": 0.9
},
"luminance": 0.10272
}Semantic roles & 50–950 ramp
primary
#A5285B
secondary
#67C29D
accent
#E4A344
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080B
muted
#827B7C