#A5285C#A5285C
#A5285C is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.166 H 0.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A5285C |
|---|---|
| RGB | rgb(165, 40, 92) |
| HSL | hsl(335, 61%, 40%) |
| HSV | hsv(335, 76%, 65%) |
| CMYK | cmyk(0%, 75.8%, 44.2%, 35.3%) |
| CIE-LAB | lab(38.36, 53.92, 0.15) |
| CIE-LCH | lch(38.36, 53.92, 0.16°) |
| OKLab | oklab(49.03% 0.1655 0.001) |
| OKLCH | oklch(49.03% 0.166 0.3) |
| XYZ | xyz(18.2090, 10.2920, 11.1508) |
| Luminance | 0.1029 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.30
Dark Fuchsia
#9D0759
ΔE00 4.38
Deep Magenta
#A0025C
ΔE00 4.46
Berry
#990F4B
ΔE00 4.59
Purplish Red
#B0054B
ΔE00 5.20
Purple Red
#990147
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5285C #28A571
analogous
#A5289B #A5285C #A53228
triadic
#A5285C #5CA528 #285CA5
tetradic
#A5285C #9BA528 #28A571 #3228A5
square
#A5285C #9BA528 #28A571 #3228A5
split-complementary
#A5285C #28A532 #289BA5
monochromatic
#421025 #741C41 #A5285C #CF3B79 #DB6C9A
Accessibility & contrast
On white
6.87
#A5285C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#A5285C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5285C
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5285C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5285C | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444B5D
Deuteranopia (green-blind)
#666359
Tritanopia (blue-blind)
#B3123F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a5285c; /* rgb */ color: rgb(165, 40, 92); /* oklch */ color: oklch(49.0% 0.166 0.3);
Tailwind
colors: {
custom: {
50: '#c56e8a',
500: '#a5285c',
950: '#000000',
},
}SCSS
$custom: #a5285c; $custom-light: #c56e8a; $custom-dark: #000000;
JSON
{
"hex": "#a5285c",
"rgb": {
"r": 165,
"g": 40,
"b": 92
},
"hsl": {
"h": 335.04,
"s": 60.976,
"l": 40.196
},
"oklch": {
"l": 0.4903,
"c": 0.16551,
"h": 0.3
},
"luminance": 0.1029
}Semantic roles & 50–950 ramp
primary
#A5285C
secondary
#67C29C
accent
#E4A144
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080B
muted
#827B7C