#A7226C#A7226C
#A7226C is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.5% C 0.180 H 352.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #A7226C |
|---|---|
| RGB | rgb(167, 34, 108) |
| HSL | hsl(327, 66%, 39%) |
| HSV | hsv(327, 80%, 65%) |
| CMYK | cmyk(0%, 79.6%, 35.3%, 34.5%) |
| CIE-LAB | lab(38.63, 57.99, -9.54) |
| CIE-LCH | lch(38.63, 58.77, 350.66°) |
| OKLab | oklab(49.47% 0.178 -0.0246) |
| OKLCH | oklch(49.47% 0.18 352.1) |
| XYZ | xyz(19.2164, 10.4446, 15.1885) |
| Luminance | 0.1044 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.81
Deep Magenta
#A0025C
ΔE00 3.93
Dark Fuchsia
#9D0759
ΔE00 4.46
Magenta (survey)
#C20078
ΔE00 4.77
Violet Red
#A50055
ΔE00 5.30
Dark Magenta
#960056
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7226C #22A75D
analogous
#A022A7 #A7226C #A72229
triadic
#A7226C #6CA722 #226CA7
tetradic
#A7226C #A7A022 #22A75D #2229A7
square
#A7226C #A7A022 #22A75D #2229A7
split-complementary
#A7226C #29A722 #22A7A0
monochromatic
#410D2A #74184B #A7226C #D5318C #DF64A9
Accessibility & contrast
On white
6.80
#A7226C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#A7226C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A7226C
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7226C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7226C | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4C6E
Deuteranopia (green-blind)
#626469
Tritanopia (blue-blind)
#B41344
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a7226c; /* rgb */ color: rgb(167, 34, 108); /* oklch */ color: oklch(49.5% 0.180 352.1);
Tailwind
colors: {
custom: {
50: '#c66c96',
500: '#a7226c',
950: '#000000',
},
}SCSS
$custom: #a7226c; $custom-light: #c66c96; $custom-dark: #000000;
JSON
{
"hex": "#a7226c",
"rgb": {
"r": 167,
"g": 34,
"b": 108
},
"hsl": {
"h": 326.617,
"s": 66.169,
"l": 39.412
},
"oklch": {
"l": 0.49473,
"c": 0.1797,
"h": 352.1
},
"luminance": 0.10442
}Semantic roles & 50–950 ramp
primary
#A7226C
secondary
#60C58D
accent
#E98A3F
background
#FCF6F9
surface
#F9ECF1
border
#D2C7CB
text
#14080D
muted
#827A7E