#A5234E#A5234E
#A5234E is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.2% C 0.167 H 6.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A5234E |
|---|---|
| RGB | rgb(165, 35, 78) |
| HSL | hsl(340, 65%, 39%) |
| HSV | hsv(340, 79%, 65%) |
| CMYK | cmyk(0%, 78.8%, 52.7%, 35.3%) |
| CIE-LAB | lab(37.40, 54.26, 7.72) |
| CIE-LCH | lch(37.40, 54.81, 8.09°) |
| OKLab | oklab(48.19% 0.1656 0.02) |
| OKLCH | oklch(48.19% 0.167 6.9) |
| XYZ | xyz(17.4948, 9.7539, 8.1677) |
| Luminance | 0.0975 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.44
Raspberry (survey)
#B00149
ΔE00 2.69
Berry
#990F4B
ΔE00 4.14
Purple Red
#990147
ΔE00 4.50
Violet Red
#A50055
ΔE00 4.58
Cranberry
#9E003A
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5234E #23A57A
analogous
#A5238F #A5234E #A53923
triadic
#A5234E #4EA523 #234EA5
tetradic
#A5234E #8FA523 #23A57A #3923A5
square
#A5234E #8FA523 #23A57A #3923A5
split-complementary
#A5234E #23A539 #238FA5
monochromatic
#400E1E #731836 #A5234E #D33267 #DE648D
Accessibility & contrast
On white
7.12
#A5234E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#A5234E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A5234E
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5234E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5234E | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#45474F
Deuteranopia (green-blind)
#67614B
Tritanopia (blue-blind)
#B40036
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a5234e; /* rgb */ color: rgb(165, 35, 78); /* oklch */ color: oklch(48.2% 0.167 6.9);
Tailwind
colors: {
custom: {
50: '#c66b7f',
500: '#a5234e',
950: '#000000',
},
}SCSS
$custom: #a5234e; $custom-light: #c66b7f; $custom-dark: #000000;
JSON
{
"hex": "#a5234e",
"rgb": {
"r": 165,
"g": 35,
"b": 78
},
"hsl": {
"h": 340.154,
"s": 65,
"l": 39.216
},
"oklch": {
"l": 0.48191,
"c": 0.16675,
"h": 6.9
},
"luminance": 0.09751
}Semantic roles & 50–950 ramp
primary
#A5234E
secondary
#60C4A3
accent
#E8B040
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C