#A5286E#A5286E
#A5286E is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.173 H 351.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #A5286E |
|---|---|
| RGB | rgb(165, 40, 110) |
| HSL | hsl(326, 61%, 40%) |
| HSV | hsv(326, 76%, 65%) |
| CMYK | cmyk(0%, 75.8%, 33.3%, 35.3%) |
| CIE-LAB | lab(38.98, 55.86, -10.31) |
| CIE-LCH | lch(38.98, 56.80, 349.54°) |
| OKLab | oklab(49.68% 0.171 -0.0267) |
| OKLCH | oklch(49.68% 0.173 351.1) |
| XYZ | xyz(19.0914, 10.6450, 15.7981) |
| Luminance | 0.1064 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.13
Deep Magenta
#A0025C
ΔE00 4.54
Dark Fuchsia
#9D0759
ΔE00 5.02
Magenta (survey)
#C20078
ΔE00 5.03
Violet Red
#A50055
ΔE00 5.94
Dark Magenta
#960056
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5286E #28A55F
analogous
#9E28A5 #A5286E #A5282F
triadic
#A5286E #6EA528 #286EA5
tetradic
#A5286E #A59E28 #28A55F #282FA5
square
#A5286E #A59E28 #28A55F #282FA5
split-complementary
#A5286E #2FA528 #28A59E
monochromatic
#42102C #741C4D #A5286E #CF3B8E #DB6CAA
Accessibility & contrast
On white
6.71
#A5286E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#A5286E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5286E
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5286E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5286E | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4E70
Deuteranopia (green-blind)
#62646B
Tritanopia (blue-blind)
#B21E47
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a5286e; /* rgb */ color: rgb(165, 40, 110); /* oklch */ color: oklch(49.7% 0.173 351.1);
Tailwind
colors: {
custom: {
50: '#c46e97',
500: '#a5286e',
950: '#000000',
},
}SCSS
$custom: #a5286e; $custom-light: #c46e97; $custom-dark: #000000;
JSON
{
"hex": "#a5286e",
"rgb": {
"r": 165,
"g": 40,
"b": 110
},
"hsl": {
"h": 326.4,
"s": 60.976,
"l": 40.196
},
"oklch": {
"l": 0.49682,
"c": 0.17307,
"h": 351.1
},
"luminance": 0.10643
}Semantic roles & 50–950 ramp
primary
#A5286E
secondary
#67C28F
accent
#E48A44
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13080D
muted
#827B7E