#A5225A#A5225A
#A5225A is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.171 H 0.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A5225A |
|---|---|
| RGB | rgb(165, 34, 90) |
| HSL | hsl(334, 66%, 39%) |
| HSV | hsv(334, 79%, 65%) |
| CMYK | cmyk(0%, 79.4%, 45.5%, 35.3%) |
| CIE-LAB | lab(37.63, 55.61, 0.37) |
| CIE-LCH | lch(37.63, 55.61, 0.38°) |
| OKLab | oklab(48.48% 0.1709 0.0016) |
| OKLCH | oklch(48.48% 0.171 0.5) |
| XYZ | xyz(17.9360, 9.8840, 10.6342) |
| Luminance | 0.0988 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.51
Dark Fuchsia
#9D0759
ΔE00 3.79
Deep Magenta
#A0025C
ΔE00 3.92
Berry
#990F4B
ΔE00 3.94
Purple Red
#990147
ΔE00 4.84
Purplish Red
#B0054B
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5225A #22A56D
analogous
#A5229C #A5225A #A52C22
triadic
#A5225A #5AA522 #225AA5
tetradic
#A5225A #9CA522 #22A56D #2C22A5
square
#A5225A #9CA522 #22A56D #2C22A5
split-complementary
#A5225A #22A52C #229CA5
monochromatic
#400D23 #72183E #A5225A #D43076 #DF6398
Accessibility & contrast
On white
7.06
#A5225A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#A5225A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A5225A
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5225A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5225A | 1.00 | 7.06 | 2.98 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41495B
Deuteranopia (green-blind)
#646257
Tritanopia (blue-blind)
#B3023B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a5225a; /* rgb */ color: rgb(165, 34, 90); /* oklch */ color: oklch(48.5% 0.171 0.5);
Tailwind
colors: {
custom: {
50: '#c56b88',
500: '#a5225a',
950: '#000000',
},
}SCSS
$custom: #a5225a; $custom-light: #c56b88; $custom-dark: #000000;
JSON
{
"hex": "#a5225a",
"rgb": {
"r": 165,
"g": 34,
"b": 90
},
"hsl": {
"h": 334.351,
"s": 65.829,
"l": 39.02
},
"oklch": {
"l": 0.48476,
"c": 0.17087,
"h": 0.5
},
"luminance": 0.09882
}Semantic roles & 50–950 ramp
primary
#A5225A
secondary
#5FC499
accent
#E9A03F
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14080B
muted
#827A7C