#A2254E#A2254E
#A2254E is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.8% C 0.162 H 6.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A2254E |
|---|---|
| RGB | rgb(162, 37, 78) |
| HSL | hsl(340, 63%, 39%) |
| HSV | hsv(340, 77%, 64%) |
| CMYK | cmyk(0%, 77.2%, 51.9%, 36.5%) |
| CIE-LAB | lab(37.04, 52.77, 7.12) |
| CIE-LCH | lch(37.04, 53.25, 7.69°) |
| OKLab | oklab(47.82% 0.1611 0.0185) |
| OKLCH | oklch(47.82% 0.162 6.6) |
| XYZ | xyz(16.9385, 9.5569, 8.1590) |
| Luminance | 0.0955 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.96
Raspberry (survey)
#B00149
ΔE00 3.20
Berry
#990F4B
ΔE00 3.83
Purple Red
#990147
ΔE00 4.25
Violet Red
#A50055
ΔE00 4.49
Cranberry
#9E003A
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2254E #25A279
analogous
#A2258D #A2254E #A23B25
triadic
#A2254E #4EA225 #254EA2
tetradic
#A2254E #8DA225 #25A279 #3B25A2
square
#A2254E #8DA225 #25A279 #3B25A2
split-complementary
#A2254E #25A23B #258DA2
monochromatic
#3E0E1E #701A36 #A2254E #D13467 #DC658C
Accessibility & contrast
On white
7.21
#A2254E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#A2254E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A2254E
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2254E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A2254E | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#45474F
Deuteranopia (green-blind)
#65604B
Tritanopia (blue-blind)
#B10037
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a2254e; /* rgb */ color: rgb(162, 37, 78); /* oklch */ color: oklch(47.8% 0.162 6.6);
Tailwind
colors: {
custom: {
50: '#c36c7f',
500: '#a2254e',
950: '#000000',
},
}SCSS
$custom: #a2254e; $custom-light: #c36c7f; $custom-dark: #000000;
JSON
{
"hex": "#a2254e",
"rgb": {
"r": 162,
"g": 37,
"b": 78
},
"hsl": {
"h": 340.32,
"s": 62.814,
"l": 39.02
},
"oklch": {
"l": 0.47818,
"c": 0.16211,
"h": 6.6
},
"luminance": 0.09555
}Semantic roles & 50–950 ramp
primary
#A2254E
secondary
#61C2A2
accent
#E6B042
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C