#A5254B#A5254B
#A5254B is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.164 H 8.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A5254B |
|---|---|
| RGB | rgb(165, 37, 75) |
| HSL | hsl(342, 63%, 40%) |
| HSV | hsv(342, 78%, 65%) |
| CMYK | cmyk(0%, 77.6%, 54.5%, 35.3%) |
| CIE-LAB | lab(37.54, 53.40, 9.84) |
| CIE-LCH | lch(37.54, 54.30, 10.44°) |
| OKLab | oklab(48.27% 0.1624 0.0251) |
| OKLCH | oklch(48.27% 0.164 8.8) |
| XYZ | xyz(17.4503, 9.8329, 7.6343) |
| Luminance | 0.0983 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.58
Raspberry (survey)
#B00149
ΔE00 2.64
Cranberry
#9E003A
ΔE00 4.40
Berry
#990F4B
ΔE00 4.95
Purple Red
#990147
ΔE00 5.15
Rouge
#AB1239
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5254B #25A57F
analogous
#A5258B #A5254B #A53F25
triadic
#A5254B #4BA525 #254BA5
tetradic
#A5254B #8BA525 #25A57F #3F25A5
square
#A5254B #8BA525 #25A57F #3F25A5
split-complementary
#A5254B #25A53F #258BA5
monochromatic
#410F1E #731A34 #A5254B #D23564 #DD678A
Accessibility & contrast
On white
7.08
#A5254B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#A5254B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A5254B
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5254B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5254B | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47484C
Deuteranopia (green-blind)
#686248
Tritanopia (blue-blind)
#B40035
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a5254b; /* rgb */ color: rgb(165, 37, 75); /* oklch */ color: oklch(48.3% 0.164 8.8);
Tailwind
colors: {
custom: {
50: '#c66c7d',
500: '#a5254b',
950: '#000000',
},
}SCSS
$custom: #a5254b; $custom-light: #c66c7d; $custom-dark: #000000;
JSON
{
"hex": "#a5254b",
"rgb": {
"r": 165,
"g": 37,
"b": 75
},
"hsl": {
"h": 342.188,
"s": 63.366,
"l": 39.608
},
"oklch": {
"l": 0.48272,
"c": 0.16431,
"h": 8.8
},
"luminance": 0.0983
}Semantic roles & 50–950 ramp
primary
#A5254B
secondary
#63C3A6
accent
#E6B541
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140809
muted
#827B7B