#7E306D#7E306D
#7E306D is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.2% C 0.132 H 337.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7E306D |
|---|---|
| RGB | rgb(126, 48, 109) |
| HSL | hsl(313, 45%, 34%) |
| HSV | hsv(313, 62%, 49%) |
| CMYK | cmyk(0%, 61.9%, 13.5%, 50.6%) |
| CIE-LAB | lab(33.25, 41.44, -19.03) |
| CIE-LCH | lch(33.25, 45.60, 335.33°) |
| OKLab | oklab(44.18% 0.1214 -0.0515) |
| OKLCH | oklch(44.18% 0.132 337) |
| XYZ | xyz(12.4216, 7.6546, 15.2883) |
| Luminance | 0.0765 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 3.91
Grape
#6C3461
ΔE00 4.30
Darkish Purple
#751973
ΔE00 5.95
Light Eggplant
#894585
ΔE00 6.33
Warm Purple
#952E8F
ΔE00 7.11
Rich Purple
#720058
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E306D #307E41
analogous
#68307E #7E306D #7E3046
triadic
#7E306D #6D7E30 #306D7E
tetradic
#7E306D #7E6830 #307E41 #30467E
square
#7E306D #7E6830 #307E41 #30467E
split-complementary
#7E306D #467E30 #307E68
monochromatic
#250E20 #521F47 #7E306D #AA4193 #C464AF
Accessibility & contrast
On white
8.30
#7E306D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#7E306D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E306D
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E306D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E306D | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#32476F
Deuteranopia (green-blind)
#49536B
Tritanopia (blue-blind)
#84344A
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #7e306d; /* rgb */ color: rgb(126, 48, 109); /* oklch */ color: oklch(44.2% 0.132 337.0);
Tailwind
colors: {
custom: {
50: '#a66d97',
500: '#7e306d',
950: '#000000',
},
}SCSS
$custom: #7e306d; $custom-light: #a66d97; $custom-dark: #000000;
JSON
{
"hex": "#7e306d",
"rgb": {
"r": 126,
"g": 48,
"b": 109
},
"hsl": {
"h": 313.077,
"s": 44.828,
"l": 34.118
},
"oklch": {
"l": 0.44176,
"c": 0.13185,
"h": 337
},
"luminance": 0.07654
}Semantic roles & 50–950 ramp
primary
#7E306D
secondary
#5FAB6F
accent
#D56F53
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070D
muted
#7F7A7E