#A5294E#A5294E
#A5294E is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.161 H 8.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A5294E |
|---|---|
| RGB | rgb(165, 41, 78) |
| HSL | hsl(342, 60%, 40%) |
| HSV | hsv(342, 75%, 65%) |
| CMYK | cmyk(0%, 75.2%, 52.7%, 35.3%) |
| CIE-LAB | lab(38.09, 52.32, 8.69) |
| CIE-LCH | lch(38.09, 53.03, 9.43°) |
| OKLab | oklab(48.7% 0.1593 0.0223) |
| OKLCH | oklch(48.7% 0.161 8) |
| XYZ | xyz(17.6867, 10.1377, 8.2317) |
| Luminance | 0.1013 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.91
Raspberry (survey)
#B00149
ΔE00 3.09
Light Burgundy
#A8415B
ΔE00 4.66
Berry
#990F4B
ΔE00 5.03
Cranberry
#9E003A
ΔE00 5.13
Purple Red
#990147
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5294E #29A580
analogous
#A5298C #A5294E #A54229
triadic
#A5294E #4EA529 #294EA5
tetradic
#A5294E #8CA529 #29A580 #4229A5
square
#A5294E #8CA529 #29A580 #4229A5
split-complementary
#A5294E #29A542 #298CA5
monochromatic
#431120 #741D37 #A5294E #CF3D68 #DB6E8E
Accessibility & contrast
On white
6.94
#A5294E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#A5294E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5294E
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5294E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5294E | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484A4F
Deuteranopia (green-blind)
#69634B
Tritanopia (blue-blind)
#B40839
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a5294e; /* rgb */ color: rgb(165, 41, 78); /* oklch */ color: oklch(48.7% 0.161 8.0);
Tailwind
colors: {
custom: {
50: '#c66e7f',
500: '#a5294e',
950: '#000000',
},
}SCSS
$custom: #a5294e; $custom-light: #c66e7f; $custom-dark: #000000;
JSON
{
"hex": "#a5294e",
"rgb": {
"r": 165,
"g": 41,
"b": 78
},
"hsl": {
"h": 342.097,
"s": 60.194,
"l": 40.392
},
"oklch": {
"l": 0.48701,
"c": 0.16084,
"h": 8
},
"luminance": 0.10135
}Semantic roles & 50–950 ramp
primary
#A5294E
secondary
#68C2A7
accent
#E3B444
background
#FCF7F7
surface
#F9EDEE
border
#D2C8C9
text
#14080A
muted
#827B7C