#A7214C#A7214C
#A7214C is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.170 H 8.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A7214C |
|---|---|
| RGB | rgb(167, 33, 76) |
| HSL | hsl(341, 67%, 39%) |
| HSV | hsv(341, 80%, 65%) |
| CMYK | cmyk(0%, 80.2%, 54.5%, 34.5%) |
| CIE-LAB | lab(37.53, 55.25, 9.24) |
| CIE-LCH | lch(37.53, 56.02, 9.50°) |
| OKLab | oklab(48.34% 0.1683 0.0236) |
| OKLCH | oklch(48.34% 0.17 8) |
| XYZ | xyz(17.7864, 9.8276, 7.7964) |
| Luminance | 0.0983 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.02
Raspberry (survey)
#B00149
ΔE00 2.17
Cranberry
#9E003A
ΔE00 4.49
Berry
#990F4B
ΔE00 4.64
Purple Red
#990147
ΔE00 4.85
Violet Red
#A50055
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7214C #21A77C
analogous
#A7218F #A7214C #A73921
triadic
#A7214C #4CA721 #214CA7
tetradic
#A7214C #8FA721 #21A77C #3921A7
square
#A7214C #8FA721 #21A77C #3921A7
split-complementary
#A7214C #21A739 #218FA7
monochromatic
#410D1D #741735 #A7214C #D62F65 #E0628B
Accessibility & contrast
On white
7.08
#A7214C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#A7214C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A7214C
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7214C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7214C | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#45474D
Deuteranopia (green-blind)
#686249
Tritanopia (blue-blind)
#B70034
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a7214c; /* rgb */ color: rgb(167, 33, 76); /* oklch */ color: oklch(48.3% 0.170 8.0);
Tailwind
colors: {
custom: {
50: '#c86b7d',
500: '#a7214c',
950: '#000000',
},
}SCSS
$custom: #a7214c; $custom-light: #c86b7d; $custom-dark: #000000;
JSON
{
"hex": "#a7214c",
"rgb": {
"r": 167,
"g": 33,
"b": 76
},
"hsl": {
"h": 340.746,
"s": 67,
"l": 39.216
},
"oklch": {
"l": 0.48343,
"c": 0.16994,
"h": 8
},
"luminance": 0.09825
}Semantic roles & 50–950 ramp
primary
#A7214C
secondary
#5FC5A4
accent
#EAB33E
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B