#A5254F#A5254F
#A5254F is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.165 H 6.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A5254F |
|---|---|
| RGB | rgb(165, 37, 79) |
| HSL | hsl(340, 63%, 40%) |
| HSV | hsv(340, 78%, 65%) |
| CMYK | cmyk(0%, 77.6%, 52.1%, 35.3%) |
| CIE-LAB | lab(37.64, 53.72, 7.42) |
| CIE-LCH | lch(37.64, 54.23, 7.87°) |
| OKLab | oklab(48.38% 0.1639 0.0193) |
| OKLCH | oklch(48.38% 0.165 6.7) |
| XYZ | xyz(17.5915, 9.8894, 8.3782) |
| Luminance | 0.0989 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.63
Raspberry (survey)
#B00149
ΔE00 2.90
Berry
#990F4B
ΔE00 4.27
Violet Red
#A50055
ΔE00 4.63
Purple Red
#990147
ΔE00 4.68
Cranberry
#9E003A
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5254F #25A57B
analogous
#A5258F #A5254F #A53B25
triadic
#A5254F #4FA525 #254FA5
tetradic
#A5254F #8FA525 #25A57B #3B25A5
square
#A5254F #8FA525 #25A57B #3B25A5
split-complementary
#A5254F #25A53B #258FA5
monochromatic
#410F1F #731A37 #A5254F #D23569 #DD678E
Accessibility & contrast
On white
7.05
#A5254F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#A5254F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A5254F
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5254F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5254F | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464850
Deuteranopia (green-blind)
#67624C
Tritanopia (blue-blind)
#B40037
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a5254f; /* rgb */ color: rgb(165, 37, 79); /* oklch */ color: oklch(48.4% 0.165 6.7);
Tailwind
colors: {
custom: {
50: '#c66c80',
500: '#a5254f',
950: '#000000',
},
}SCSS
$custom: #a5254f; $custom-light: #c66c80; $custom-dark: #000000;
JSON
{
"hex": "#a5254f",
"rgb": {
"r": 165,
"g": 37,
"b": 79
},
"hsl": {
"h": 340.313,
"s": 63.366,
"l": 39.608
},
"oklch": {
"l": 0.48381,
"c": 0.16506,
"h": 6.7
},
"luminance": 0.09887
}Semantic roles & 50–950 ramp
primary
#A5254F
secondary
#63C3A3
accent
#E6B041
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C