#7E396D#7E396D
#7E396D is a mid, moderate pink. Relative luminance 0.085; OKLCH L 45.4% C 0.117 H 337.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7E396D |
|---|---|
| RGB | rgb(126, 57, 109) |
| HSL | hsl(315, 38%, 36%) |
| HSV | hsv(315, 55%, 49%) |
| CMYK | cmyk(0%, 54.8%, 13.5%, 50.6%) |
| CIE-LAB | lab(34.94, 36.92, -16.43) |
| CIE-LCH | lch(34.94, 40.41, 336.00°) |
| OKLab | oklab(45.42% 0.108 -0.0443) |
| OKLCH | oklch(45.42% 0.117 337.7) |
| XYZ | xyz(12.8278, 8.4669, 15.4237) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 1.83
Grape
#6C3461
ΔE00 4.04
Light Eggplant
#894585
ΔE00 5.46
Dirty Purple
#734A65
ΔE00 7.24
Warm Purple
#952E8F
ΔE00 7.89
Darkish Purple
#751973
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E396D #397E4A
analogous
#6C397E #7E396D #7E394A
triadic
#7E396D #6D7E39 #396D7E
tetradic
#7E396D #7E6C39 #397E4A #394A7E
square
#7E396D #7E6C39 #397E4A #394A7E
split-complementary
#7E396D #4A7E39 #397E6C
monochromatic
#2A1324 #542649 #7E396D #A84C91 #BF72AC
Accessibility & contrast
On white
7.80
#7E396D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#7E396D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E396D
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E396D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E396D | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4B6F
Deuteranopia (green-blind)
#4E566B
Tritanopia (blue-blind)
#843B4E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #7e396d; /* rgb */ color: rgb(126, 57, 109); /* oklch */ color: oklch(45.4% 0.117 337.7);
Tailwind
colors: {
custom: {
50: '#a57397',
500: '#7e396d',
950: '#000000',
},
}SCSS
$custom: #7e396d; $custom-light: #a57397; $custom-dark: #000000;
JSON
{
"hex": "#7e396d",
"rgb": {
"r": 126,
"g": 57,
"b": 109
},
"hsl": {
"h": 314.783,
"s": 37.705,
"l": 35.882
},
"oklch": {
"l": 0.45419,
"c": 0.11674,
"h": 337.7
},
"luminance": 0.08466
}Semantic roles & 50–950 ramp
primary
#7E396D
secondary
#6AA87A
accent
#CE775A
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F080D
muted
#7F7B7E