#7E1E5B#7E1E5B
#7E1E5B is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.3% C 0.145 H 346.3°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1E5B |
|---|---|
| RGB | rgb(126, 30, 91) |
| HSL | hsl(322, 62%, 31%) |
| HSV | hsv(322, 76%, 49%) |
| CMYK | cmyk(0%, 76.2%, 27.8%, 50.6%) |
| CIE-LAB | lab(29.71, 46.30, -12.90) |
| CIE-LCH | lch(29.71, 48.06, 344.44°) |
| OKLab | oklab(41.33% 0.1406 -0.0341) |
| OKLCH | oklch(41.33% 0.145 346.3) |
| XYZ | xyz(10.9573, 6.1207, 10.4999) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.32
Rich Purple
#720058
ΔE00 4.75
Red Purple
#820747
ΔE00 5.58
Dark Magenta
#960056
ΔE00 5.66
Reddish Purple
#910951
ΔE00 5.68
Red Violet
#9E0168
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1E5B #1E7E41
analogous
#711E7E #7E1E5B #7E1E2B
triadic
#7E1E5B #5B7E1E #1E5B7E
tetradic
#7E1E5B #7E711E #1E7E41 #1E2B7E
square
#7E1E5B #7E711E #1E7E41 #1E2B7E
split-complementary
#7E1E5B #2B7E1E #1E7E71
monochromatic
#1B0614 #4D1237 #7E1E5B #AF2A7F #D2449E
Accessibility & contrast
On white
9.44
#7E1E5B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#7E1E5B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1E5B
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1E5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1E5B | 1.00 | 9.44 | 2.22 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3C5D
Deuteranopia (green-blind)
#484C59
Tritanopia (blue-blind)
#871B3A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e1e5b; /* rgb */ color: rgb(126, 30, 91); /* oklch */ color: oklch(41.3% 0.145 346.3);
Tailwind
colors: {
custom: {
50: '#a76489',
500: '#7e1e5b',
950: '#000000',
},
}SCSS
$custom: #7e1e5b; $custom-light: #a76489; $custom-dark: #000000;
JSON
{
"hex": "#7e1e5b",
"rgb": {
"r": 126,
"g": 30,
"b": 91
},
"hsl": {
"h": 321.875,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.41325,
"c": 0.14466,
"h": 346.3
},
"luminance": 0.06119
}Semantic roles & 50–950 ramp
primary
#7E1E5B
secondary
#47B16D
accent
#E57E43
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C