#A5254A#A5254A
#A5254A is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.2% C 0.164 H 9.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A5254A |
|---|---|
| RGB | rgb(165, 37, 74) |
| HSL | hsl(343, 63%, 40%) |
| HSV | hsv(343, 78%, 65%) |
| CMYK | cmyk(0%, 77.6%, 55.2%, 35.3%) |
| CIE-LAB | lab(37.52, 53.32, 10.45) |
| CIE-LCH | lch(37.52, 54.33, 11.09°) |
| OKLab | oklab(48.25% 0.162 0.0265) |
| OKLCH | oklch(48.25% 0.164 9.3) |
| XYZ | xyz(17.4163, 9.8194, 7.4555) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.67
Raspberry (survey)
#B00149
ΔE00 2.68
Cranberry
#9E003A
ΔE00 4.25
Rouge
#AB1239
ΔE00 4.89
Berry
#990F4B
ΔE00 5.16
Purple Red
#990147
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5254A #25A580
analogous
#A5258A #A5254A #A54025
triadic
#A5254A #4AA525 #254AA5
tetradic
#A5254A #8AA525 #25A580 #4025A5
square
#A5254A #8AA525 #25A580 #4025A5
split-complementary
#A5254A #25A540 #258AA5
monochromatic
#410F1D #731A34 #A5254A #D23563 #DD6789
Accessibility & contrast
On white
7.09
#A5254A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#A5254A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A5254A
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5254A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5254A | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47484B
Deuteranopia (green-blind)
#686247
Tritanopia (blue-blind)
#B40035
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a5254a; /* rgb */ color: rgb(165, 37, 74); /* oklch */ color: oklch(48.2% 0.164 9.3);
Tailwind
colors: {
custom: {
50: '#c66c7c',
500: '#a5254a',
950: '#000000',
},
}SCSS
$custom: #a5254a; $custom-light: #c66c7c; $custom-dark: #000000;
JSON
{
"hex": "#a5254a",
"rgb": {
"r": 165,
"g": 37,
"b": 74
},
"hsl": {
"h": 342.656,
"s": 63.366,
"l": 39.608
},
"oklch": {
"l": 0.48246,
"c": 0.16415,
"h": 9.3
},
"luminance": 0.09817
}Semantic roles & 50–950 ramp
primary
#A5254A
secondary
#63C3A7
accent
#E6B741
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140809
muted
#837A7B