#7E214D#7E214D
#7E214D is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.0% C 0.134 H 355.8°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7E214D |
|---|---|
| RGB | rgb(126, 33, 77) |
| HSL | hsl(332, 58%, 31%) |
| HSV | hsv(332, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 38.9%, 50.6%) |
| CIE-LAB | lab(29.56, 43.43, -3.92) |
| CIE-LCH | lch(29.56, 43.60, 354.84°) |
| OKLab | oklab(41.04% 0.1331 -0.0098) |
| OKLCH | oklch(41.04% 0.134 355.8) |
| XYZ | xyz(10.4883, 6.0604, 7.6372) |
| Luminance | 0.0606 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.89
Reddish Purple
#910951
ΔE00 3.93
Mulberry
#920A4E
ΔE00 4.19
Wine (survey)
#80013F
ΔE00 4.20
Dark Magenta
#960056
ΔE00 4.91
Merlot
#730039
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E214D #217E52
analogous
#7E217B #7E214D #7E2321
triadic
#7E214D #4D7E21 #214D7E
tetradic
#7E214D #7B7E21 #217E52 #23217E
square
#7E214D #7B7E21 #217E52 #23217E
split-complementary
#7E214D #217E23 #217B7E
monochromatic
#1D0812 #4E142F #7E214D #AE2E6B #D04A89
Accessibility & contrast
On white
9.49
#7E214D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7E214D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E214D
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E214D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E214D | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333B4E
Deuteranopia (green-blind)
#4C4C4B
Tritanopia (blue-blind)
#881734
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e214d; /* rgb */ color: rgb(126, 33, 77); /* oklch */ color: oklch(41.0% 0.134 355.8);
Tailwind
colors: {
custom: {
50: '#a7657e',
500: '#7e214d',
950: '#000000',
},
}SCSS
$custom: #7e214d; $custom-light: #a7657e; $custom-dark: #000000;
JSON
{
"hex": "#7e214d",
"rgb": {
"r": 126,
"g": 33,
"b": 77
},
"hsl": {
"h": 331.613,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.41035,
"c": 0.1335,
"h": 355.8
},
"luminance": 0.06059
}Semantic roles & 50–950 ramp
primary
#7E214D
secondary
#4AB180
accent
#E29846
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C