#A2254A#A2254A
#A2254A is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.7% C 0.161 H 8.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A2254A |
|---|---|
| RGB | rgb(162, 37, 74) |
| HSL | hsl(342, 63%, 39%) |
| HSV | hsv(342, 77%, 64%) |
| CMYK | cmyk(0%, 77.2%, 54.3%, 36.5%) |
| CIE-LAB | lab(36.93, 52.45, 9.55) |
| CIE-LCH | lch(36.93, 53.31, 10.32°) |
| OKLab | oklab(47.71% 0.1595 0.0244) |
| OKLCH | oklch(47.71% 0.161 8.7) |
| XYZ | xyz(16.7995, 9.5013, 7.4266) |
| Luminance | 0.0950 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.90
Raspberry (survey)
#B00149
ΔE00 2.95
Cranberry
#9E003A
ΔE00 4.12
Berry
#990F4B
ΔE00 4.57
Purple Red
#990147
ΔE00 4.76
Rouge
#AB1239
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2254A #25A27D
analogous
#A22589 #A2254A #A23F25
triadic
#A2254A #4AA225 #254AA2
tetradic
#A2254A #89A225 #25A27D #3F25A2
square
#A2254A #89A225 #25A27D #3F25A2
split-complementary
#A2254A #25A23F #2589A2
monochromatic
#3E0E1C #701A33 #A2254A #D13462 #DC6589
Accessibility & contrast
On white
7.24
#A2254A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#A2254A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A2254A
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2254A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A2254A | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#46474B
Deuteranopia (green-blind)
#666047
Tritanopia (blue-blind)
#B10035
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a2254a; /* rgb */ color: rgb(162, 37, 74); /* oklch */ color: oklch(47.7% 0.161 8.7);
Tailwind
colors: {
custom: {
50: '#c46c7c',
500: '#a2254a',
950: '#000000',
},
}SCSS
$custom: #a2254a; $custom-light: #c46c7c; $custom-dark: #000000;
JSON
{
"hex": "#a2254a",
"rgb": {
"r": 162,
"g": 37,
"b": 74
},
"hsl": {
"h": 342.24,
"s": 62.814,
"l": 39.02
},
"oklch": {
"l": 0.47709,
"c": 0.16136,
"h": 8.7
},
"luminance": 0.09499
}Semantic roles & 50–950 ramp
primary
#A2254A
secondary
#61C2A5
accent
#E6B542
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140709
muted
#827A7B