#A2254D#A2254D
#A2254D is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.162 H 7.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A2254D |
|---|---|
| RGB | rgb(162, 37, 77) |
| HSL | hsl(341, 63%, 39%) |
| HSV | hsv(341, 77%, 64%) |
| CMYK | cmyk(0%, 77.2%, 52.5%, 36.5%) |
| CIE-LAB | lab(37.01, 52.69, 7.73) |
| CIE-LCH | lch(37.01, 53.25, 8.34°) |
| OKLab | oklab(47.79% 0.1607 0.02) |
| OKLCH | oklch(47.79% 0.162 7.1) |
| XYZ | xyz(16.9029, 9.5427, 7.9716) |
| Luminance | 0.0954 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.89
Raspberry (survey)
#B00149
ΔE00 3.09
Berry
#990F4B
ΔE00 3.99
Purple Red
#990147
ΔE00 4.35
Cranberry
#9E003A
ΔE00 4.72
Violet Red
#A50055
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2254D #25A27A
analogous
#A2258C #A2254D #A23C25
triadic
#A2254D #4DA225 #254DA2
tetradic
#A2254D #8CA225 #25A27A #3C25A2
square
#A2254D #8CA225 #25A27A #3C25A2
split-complementary
#A2254D #25A23C #258CA2
monochromatic
#3E0E1E #701A35 #A2254D #D13466 #DC658B
Accessibility & contrast
On white
7.22
#A2254D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#A2254D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A2254D
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2254D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A2254D | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#45474E
Deuteranopia (green-blind)
#66604A
Tritanopia (blue-blind)
#B10036
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a2254d; /* rgb */ color: rgb(162, 37, 77); /* oklch */ color: oklch(47.8% 0.162 7.1);
Tailwind
colors: {
custom: {
50: '#c36c7e',
500: '#a2254d',
950: '#000000',
},
}SCSS
$custom: #a2254d; $custom-light: #c36c7e; $custom-dark: #000000;
JSON
{
"hex": "#a2254d",
"rgb": {
"r": 162,
"g": 37,
"b": 77
},
"hsl": {
"h": 340.8,
"s": 62.814,
"l": 39.02
},
"oklch": {
"l": 0.4779,
"c": 0.16191,
"h": 7.1
},
"luminance": 0.0954
}Semantic roles & 50–950 ramp
primary
#A2254D
secondary
#61C2A3
accent
#E6B142
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140709
muted
#827A7B