#A5226C#A5226C
#A5226C is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.1% C 0.178 H 351.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #A5226C |
|---|---|
| RGB | rgb(165, 34, 108) |
| HSL | hsl(326, 66%, 39%) |
| HSV | hsv(326, 79%, 65%) |
| CMYK | cmyk(0%, 79.4%, 34.5%, 35.3%) |
| CIE-LAB | lab(38.25, 57.48, -10.15) |
| CIE-LCH | lch(38.25, 58.36, 349.99°) |
| OKLab | oklab(49.13% 0.1763 -0.0263) |
| OKLCH | oklch(49.13% 0.178 351.5) |
| XYZ | xyz(18.7970, 10.2284, 15.1689) |
| Luminance | 0.1023 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.45
Deep Magenta
#A0025C
ΔE00 3.84
Dark Fuchsia
#9D0759
ΔE00 4.37
Magenta (survey)
#C20078
ΔE00 5.11
Violet Red
#A50055
ΔE00 5.41
Dark Magenta
#960056
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5226C #22A55B
analogous
#9D22A5 #A5226C #A5222B
triadic
#A5226C #6CA522 #226CA5
tetradic
#A5226C #A59D22 #22A55B #222BA5
square
#A5226C #A59D22 #22A55B #222BA5
split-complementary
#A5226C #2BA522 #22A59D
monochromatic
#400D2A #72184B #A5226C #D4308D #DF63A9
Accessibility & contrast
On white
6.90
#A5226C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#A5226C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5226C
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5226C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5226C | 1.00 | 6.90 | 3.05 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4B6E
Deuteranopia (green-blind)
#606269
Tritanopia (blue-blind)
#B21544
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a5226c; /* rgb */ color: rgb(165, 34, 108); /* oklch */ color: oklch(49.1% 0.178 351.5);
Tailwind
colors: {
custom: {
50: '#c46c96',
500: '#a5226c',
950: '#000000',
},
}SCSS
$custom: #a5226c; $custom-light: #c46c96; $custom-dark: #000000;
JSON
{
"hex": "#a5226c",
"rgb": {
"r": 165,
"g": 34,
"b": 108
},
"hsl": {
"h": 326.107,
"s": 65.829,
"l": 39.02
},
"oklch": {
"l": 0.49127,
"c": 0.17826,
"h": 351.5
},
"luminance": 0.10226
}Semantic roles & 50–950 ramp
primary
#A5226C
secondary
#5FC48B
accent
#E9893F
background
#FCF6F9
surface
#F9ECF1
border
#D2C7CB
text
#13080D
muted
#827A7E