#A7214E#A7214E
#A7214E is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.170 H 7.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A7214E |
|---|---|
| RGB | rgb(167, 33, 78) |
| HSL | hsl(340, 67%, 39%) |
| HSV | hsv(340, 80%, 65%) |
| CMYK | cmyk(0%, 80.2%, 53.3%, 34.5%) |
| CIE-LAB | lab(37.58, 55.41, 8.03) |
| CIE-LCH | lch(37.58, 55.99, 8.25°) |
| OKLab | oklab(48.4% 0.1691 0.0207) |
| OKLCH | oklch(48.4% 0.17 7) |
| XYZ | xyz(17.8570, 9.8558, 8.1683) |
| Luminance | 0.0985 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.09
Raspberry (survey)
#B00149
ΔE00 2.36
Berry
#990F4B
ΔE00 4.31
Violet Red
#A50055
ΔE00 4.60
Purple Red
#990147
ΔE00 4.63
Cranberry
#9E003A
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7214E #21A77A
analogous
#A72191 #A7214E #A73721
triadic
#A7214E #4EA721 #214EA7
tetradic
#A7214E #91A721 #21A77A #3721A7
square
#A7214E #91A721 #21A77A #3721A7
split-complementary
#A7214E #21A737 #2191A7
monochromatic
#410D1E #741736 #A7214E #D62F67 #E0628D
Accessibility & contrast
On white
7.07
#A7214E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#A7214E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A7214E
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7214E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7214E | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#45474F
Deuteranopia (green-blind)
#68624B
Tritanopia (blue-blind)
#B60035
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a7214e; /* rgb */ color: rgb(167, 33, 78); /* oklch */ color: oklch(48.4% 0.170 7.0);
Tailwind
colors: {
custom: {
50: '#c76b7f',
500: '#a7214e',
950: '#000000',
},
}SCSS
$custom: #a7214e; $custom-light: #c76b7f; $custom-dark: #000000;
JSON
{
"hex": "#a7214e",
"rgb": {
"r": 167,
"g": 33,
"b": 78
},
"hsl": {
"h": 339.851,
"s": 67,
"l": 39.216
},
"oklch": {
"l": 0.48398,
"c": 0.17032,
"h": 7
},
"luminance": 0.09853
}Semantic roles & 50–950 ramp
primary
#A7214E
secondary
#5FC5A3
accent
#EAB03E
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C