#7E306A#7E306A
#7E306A is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.0% C 0.129 H 338.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7E306A |
|---|---|
| RGB | rgb(126, 48, 106) |
| HSL | hsl(315, 45%, 34%) |
| HSV | hsv(315, 62%, 49%) |
| CMYK | cmyk(0%, 61.9%, 15.9%, 50.6%) |
| CIE-LAB | lab(33.12, 40.94, -17.34) |
| CIE-LCH | lch(33.12, 44.46, 337.05°) |
| OKLab | oklab(44.03% 0.1208 -0.0467) |
| OKLCH | oklch(44.03% 0.129 338.8) |
| XYZ | xyz(12.2629, 7.5912, 14.4523) |
| Luminance | 0.0759 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 3.88
Grape
#6C3461
ΔE00 4.08
Darkish Purple
#751973
ΔE00 6.50
Light Eggplant
#894585
ΔE00 6.74
Velvet
#750851
ΔE00 7.00
Red Violet
#9E0168
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E306A #307E44
analogous
#6B307E #7E306A #7E3043
triadic
#7E306A #6A7E30 #306A7E
tetradic
#7E306A #7E6B30 #307E44 #30437E
square
#7E306A #7E6B30 #307E44 #30437E
split-complementary
#7E306A #437E30 #307E6B
monochromatic
#250E1F #521F45 #7E306A #AA418F #C464AC
Accessibility & contrast
On white
8.34
#7E306A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#7E306A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E306A
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E306A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E306A | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33466C
Deuteranopia (green-blind)
#4A5268
Tritanopia (blue-blind)
#853248
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #7e306a; /* rgb */ color: rgb(126, 48, 106); /* oklch */ color: oklch(44.0% 0.129 338.8);
Tailwind
colors: {
custom: {
50: '#a66d94',
500: '#7e306a',
950: '#000000',
},
}SCSS
$custom: #7e306a; $custom-light: #a66d94; $custom-dark: #000000;
JSON
{
"hex": "#7e306a",
"rgb": {
"r": 126,
"g": 48,
"b": 106
},
"hsl": {
"h": 315.385,
"s": 44.828,
"l": 34.118
},
"oklch": {
"l": 0.44031,
"c": 0.12949,
"h": 338.8
},
"luminance": 0.0759
}Semantic roles & 50–950 ramp
primary
#7E306A
secondary
#5FAB72
accent
#D57453
background
#FAF6F9
surface
#F4ECF1
border
#CEC7CB
text
#10070D
muted
#7F7A7E