#7E214A#7E214A
#7E214A is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.132 H 357.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7E214A |
|---|---|
| RGB | rgb(126, 33, 74) |
| HSL | hsl(334, 58%, 31%) |
| HSV | hsv(334, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 41.3%, 50.6%) |
| CIE-LAB | lab(29.46, 43.08, -2.09) |
| CIE-LCH | lch(29.46, 43.13, 357.22°) |
| OKLab | oklab(40.92% 0.1321 -0.005) |
| OKLCH | oklch(40.92% 0.132 357.9) |
| XYZ | xyz(10.3848, 6.0190, 7.0922) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.83
Wine (survey)
#80013F
ΔE00 3.68
Reddish Purple
#910951
ΔE00 4.07
Mulberry
#920A4E
ΔE00 4.08
Merlot
#730039
ΔE00 4.83
Dark Magenta
#960056
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E214A #217E55
analogous
#7E2178 #7E214A #7E2621
triadic
#7E214A #4A7E21 #214A7E
tetradic
#7E214A #787E21 #217E55 #26217E
square
#7E214A #787E21 #217E55 #26217E
split-complementary
#7E214A #217E26 #21787E
monochromatic
#1D0811 #4E142E #7E214A #AE2E66 #D04A85
Accessibility & contrast
On white
9.53
#7E214A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7E214A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E214A
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E214A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E214A | 1.00 | 9.53 | 2.20 | 9.53 |
| #FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343A4B
Deuteranopia (green-blind)
#4D4C48
Tritanopia (blue-blind)
#891632
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e214a; /* rgb */ color: rgb(126, 33, 74); /* oklch */ color: oklch(40.9% 0.132 357.9);
Tailwind
colors: {
custom: {
50: '#a8657c',
500: '#7e214a',
950: '#000000',
},
}SCSS
$custom: #7e214a; $custom-light: #a8657c; $custom-dark: #000000;
JSON
{
"hex": "#7e214a",
"rgb": {
"r": 126,
"g": 33,
"b": 74
},
"hsl": {
"h": 333.548,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.40925,
"c": 0.13222,
"h": 357.9
},
"luminance": 0.06018
}Semantic roles & 50–950 ramp
primary
#7E214A
secondary
#4AB183
accent
#E29D46
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B