#A5254C#A5254C
#A5254C is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.164 H 8.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A5254C |
|---|---|
| RGB | rgb(165, 37, 76) |
| HSL | hsl(342, 63%, 40%) |
| HSV | hsv(342, 78%, 65%) |
| CMYK | cmyk(0%, 77.6%, 53.9%, 35.3%) |
| CIE-LAB | lab(37.57, 53.48, 9.24) |
| CIE-LCH | lch(37.57, 54.27, 9.80°) |
| OKLab | oklab(48.3% 0.1628 0.0236) |
| OKLCH | oklch(48.3% 0.164 8.3) |
| XYZ | xyz(17.4848, 9.8467, 7.8160) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.53
Raspberry (survey)
#B00149
ΔE00 2.65
Cranberry
#9E003A
ΔE00 4.57
Berry
#990F4B
ΔE00 4.76
Purple Red
#990147
ΔE00 5.01
Light Burgundy
#A8415B
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5254C #25A57E
analogous
#A5258C #A5254C #A53E25
triadic
#A5254C #4CA525 #254CA5
tetradic
#A5254C #8CA525 #25A57E #3E25A5
square
#A5254C #8CA525 #25A57E #3E25A5
split-complementary
#A5254C #25A53E #258CA5
monochromatic
#410F1E #731A35 #A5254C #D23565 #DD678B
Accessibility & contrast
On white
7.07
#A5254C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#A5254C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A5254C
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5254C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5254C | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#46484D
Deuteranopia (green-blind)
#686249
Tritanopia (blue-blind)
#B40036
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a5254c; /* rgb */ color: rgb(165, 37, 76); /* oklch */ color: oklch(48.3% 0.164 8.3);
Tailwind
colors: {
custom: {
50: '#c66c7d',
500: '#a5254c',
950: '#000000',
},
}SCSS
$custom: #a5254c; $custom-light: #c66c7d; $custom-dark: #000000;
JSON
{
"hex": "#a5254c",
"rgb": {
"r": 165,
"g": 37,
"b": 76
},
"hsl": {
"h": 341.719,
"s": 63.366,
"l": 39.608
},
"oklch": {
"l": 0.48298,
"c": 0.16448,
"h": 8.3
},
"luminance": 0.09844
}Semantic roles & 50–950 ramp
primary
#A5254C
secondary
#63C3A6
accent
#E6B441
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140809
muted
#827B7B