#A5254E#A5254E
#A5254E is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.165 H 7.2°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A5254E |
|---|---|
| RGB | rgb(165, 37, 78) |
| HSL | hsl(341, 63%, 40%) |
| HSV | hsv(341, 78%, 65%) |
| CMYK | cmyk(0%, 77.6%, 52.7%, 35.3%) |
| CIE-LAB | lab(37.62, 53.64, 8.03) |
| CIE-LCH | lch(37.62, 54.24, 8.51°) |
| OKLab | oklab(48.35% 0.1635 0.0207) |
| OKLCH | oklch(48.35% 0.165 7.2) |
| XYZ | xyz(17.5554, 9.8750, 8.1879) |
| Luminance | 0.0987 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.56
Raspberry (survey)
#B00149
ΔE00 2.78
Berry
#990F4B
ΔE00 4.42
Purple Red
#990147
ΔE00 4.77
Violet Red
#A50055
ΔE00 4.88
Cranberry
#9E003A
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5254E #25A57C
analogous
#A5258E #A5254E #A53C25
triadic
#A5254E #4EA525 #254EA5
tetradic
#A5254E #8EA525 #25A57C #3C25A5
square
#A5254E #8EA525 #25A57C #3C25A5
split-complementary
#A5254E #25A53C #258EA5
monochromatic
#410F1F #731A36 #A5254E #D23568 #DD678D
Accessibility & contrast
On white
7.06
#A5254E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#A5254E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A5254E
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5254E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5254E | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#46484F
Deuteranopia (green-blind)
#67624B
Tritanopia (blue-blind)
#B40037
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a5254e; /* rgb */ color: rgb(165, 37, 78); /* oklch */ color: oklch(48.4% 0.165 7.2);
Tailwind
colors: {
custom: {
50: '#c66c7f',
500: '#a5254e',
950: '#000000',
},
}SCSS
$custom: #a5254e; $custom-light: #c66c7f; $custom-dark: #000000;
JSON
{
"hex": "#a5254e",
"rgb": {
"r": 165,
"g": 37,
"b": 78
},
"hsl": {
"h": 340.781,
"s": 63.366,
"l": 39.608
},
"oklch": {
"l": 0.48353,
"c": 0.16485,
"h": 7.2
},
"luminance": 0.09873
}Semantic roles & 50–950 ramp
primary
#A5254E
secondary
#63C3A4
accent
#E6B241
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C