#7E3370#7E3370
#7E3370 is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.7% C 0.129 H 335.4°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3370 |
|---|---|
| RGB | rgb(126, 51, 112) |
| HSL | hsl(311, 42%, 35%) |
| HSV | hsv(311, 60%, 49%) |
| CMYK | cmyk(0%, 59.5%, 11.1%, 50.6%) |
| CIE-LAB | lab(33.93, 40.49, -19.88) |
| CIE-LCH | lch(33.93, 45.11, 333.85°) |
| OKLab | oklab(44.72% 0.1177 -0.054) |
| OKLCH | oklch(44.72% 0.129 335.4) |
| XYZ | xyz(12.7127, 7.9741, 16.1957) |
| Luminance | 0.0797 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 3.39
Grape
#6C3461
ΔE00 4.41
Light Eggplant
#894585
ΔE00 5.58
Darkish Purple
#751973
ΔE00 6.11
Warm Purple
#952E8F
ΔE00 6.70
Red Violet
#9E0168
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3370 #337E41
analogous
#67337E #7E3370 #7E334B
triadic
#7E3370 #707E33 #33707E
tetradic
#7E3370 #7E6733 #337E41 #334B7E
square
#7E3370 #7E6733 #337E41 #334B7E
split-complementary
#7E3370 #4B7E33 #337E67
monochromatic
#271023 #522149 #7E3370 #AA4597 #C269B2
Accessibility & contrast
On white
8.09
#7E3370 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#7E3370 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E3370
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3370 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3370 | 1.00 | 8.09 | 2.59 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334972
Deuteranopia (green-blind)
#4A546E
Tritanopia (blue-blind)
#84374C
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #7e3370; /* rgb */ color: rgb(126, 51, 112); /* oklch */ color: oklch(44.7% 0.129 335.4);
Tailwind
colors: {
custom: {
50: '#a66f99',
500: '#7e3370',
950: '#000000',
},
}SCSS
$custom: #7e3370; $custom-light: #a66f99; $custom-dark: #000000;
JSON
{
"hex": "#7e3370",
"rgb": {
"r": 126,
"g": 51,
"b": 112
},
"hsl": {
"h": 311.2,
"s": 42.373,
"l": 34.706
},
"oklch": {
"l": 0.44718,
"c": 0.12945,
"h": 335.4
},
"luminance": 0.07973
}Semantic roles & 50–950 ramp
primary
#7E3370
secondary
#63AA70
accent
#D26D56
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10080E
muted
#7F7B7E