#A5224B#A5224B
#A5224B is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.0% C 0.167 H 8.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A5224B |
|---|---|
| RGB | rgb(165, 34, 75) |
| HSL | hsl(341, 66%, 39%) |
| HSV | hsv(341, 79%, 65%) |
| CMYK | cmyk(0%, 79.4%, 54.5%, 35.3%) |
| CIE-LAB | lab(37.21, 54.32, 9.38) |
| CIE-LCH | lch(37.21, 55.13, 9.80°) |
| OKLab | oklab(48.03% 0.1654 0.024) |
| OKLCH | oklch(48.03% 0.167 8.2) |
| XYZ | xyz(17.3607, 9.6539, 7.6045) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.31
Raspberry (survey)
#B00149
ΔE00 2.41
Cranberry
#9E003A
ΔE00 4.25
Berry
#990F4B
ΔE00 4.53
Purple Red
#990147
ΔE00 4.72
Violet Red
#A50055
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5224B #22A57C
analogous
#A5228D #A5224B #A53A22
triadic
#A5224B #4BA522 #224BA5
tetradic
#A5224B #8DA522 #22A57C #3A22A5
square
#A5224B #8DA522 #22A57C #3A22A5
split-complementary
#A5224B #22A53A #228DA5
monochromatic
#400D1D #721834 #A5224B #D43063 #DF6389
Accessibility & contrast
On white
7.17
#A5224B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#A5224B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A5224B
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5224B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5224B | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#45474C
Deuteranopia (green-blind)
#676148
Tritanopia (blue-blind)
#B40034
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a5224b; /* rgb */ color: rgb(165, 34, 75); /* oklch */ color: oklch(48.0% 0.167 8.2);
Tailwind
colors: {
custom: {
50: '#c66b7d',
500: '#a5224b',
950: '#000000',
},
}SCSS
$custom: #a5224b; $custom-light: #c66b7d; $custom-dark: #000000;
JSON
{
"hex": "#a5224b",
"rgb": {
"r": 165,
"g": 34,
"b": 75
},
"hsl": {
"h": 341.221,
"s": 65.829,
"l": 39.02
},
"oklch": {
"l": 0.48031,
"c": 0.16709,
"h": 8.2
},
"luminance": 0.09651
}Semantic roles & 50–950 ramp
primary
#A5224B
secondary
#5FC4A4
accent
#E9B43F
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B