#A2254B#A2254B
#A2254B is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.7% C 0.162 H 8.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A2254B |
|---|---|
| RGB | rgb(162, 37, 75) |
| HSL | hsl(342, 63%, 39%) |
| HSV | hsv(342, 77%, 64%) |
| CMYK | cmyk(0%, 77.2%, 53.7%, 36.5%) |
| CIE-LAB | lab(36.96, 52.53, 8.94) |
| CIE-LCH | lch(36.96, 53.28, 9.66°) |
| OKLab | oklab(47.74% 0.1599 0.0229) |
| OKLCH | oklch(47.74% 0.162 8.2) |
| XYZ | xyz(16.8334, 9.5149, 7.6054) |
| Luminance | 0.0951 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.86
Raspberry (survey)
#B00149
ΔE00 2.96
Cranberry
#9E003A
ΔE00 4.31
Berry
#990F4B
ΔE00 4.36
Purple Red
#990147
ΔE00 4.60
Violet Red
#A50055
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2254B #25A27C
analogous
#A2258A #A2254B #A23E25
triadic
#A2254B #4BA225 #254BA2
tetradic
#A2254B #8AA225 #25A27C #3E25A2
square
#A2254B #8AA225 #25A27C #3E25A2
split-complementary
#A2254B #25A23E #258AA2
monochromatic
#3E0E1D #701A34 #A2254B #D13463 #DC6589
Accessibility & contrast
On white
7.23
#A2254B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#A2254B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A2254B
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2254B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A2254B | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#45474C
Deuteranopia (green-blind)
#666048
Tritanopia (blue-blind)
#B10035
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a2254b; /* rgb */ color: rgb(162, 37, 75); /* oklch */ color: oklch(47.7% 0.162 8.2);
Tailwind
colors: {
custom: {
50: '#c46c7d',
500: '#a2254b',
950: '#000000',
},
}SCSS
$custom: #a2254b; $custom-light: #c46c7d; $custom-dark: #000000;
JSON
{
"hex": "#a2254b",
"rgb": {
"r": 162,
"g": 37,
"b": 75
},
"hsl": {
"h": 341.76,
"s": 62.814,
"l": 39.02
},
"oklch": {
"l": 0.47736,
"c": 0.16153,
"h": 8.2
},
"luminance": 0.09513
}Semantic roles & 50–950 ramp
primary
#A2254B
secondary
#61C2A4
accent
#E6B442
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140709
muted
#827A7B