#7E1E5C#7E1E5C
#7E1E5C is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.145 H 345.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1E5C |
|---|---|
| RGB | rgb(126, 30, 92) |
| HSL | hsl(321, 62%, 31%) |
| HSV | hsv(321, 76%, 49%) |
| CMYK | cmyk(0%, 76.2%, 27%, 50.6%) |
| CIE-LAB | lab(29.76, 46.43, -13.48) |
| CIE-LCH | lch(29.76, 48.35, 343.81°) |
| OKLab | oklab(41.37% 0.1408 -0.0358) |
| OKLCH | oklch(41.37% 0.145 345.7) |
| XYZ | xyz(11.0007, 6.1381, 10.7286) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.36
Rich Purple
#720058
ΔE00 4.63
Dark Magenta
#960056
ΔE00 5.82
Red Purple
#820747
ΔE00 5.83
Reddish Purple
#910951
ΔE00 5.89
Red Violet
#9E0168
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1E5C #1E7E40
analogous
#701E7E #7E1E5C #7E1E2C
triadic
#7E1E5C #5C7E1E #1E5C7E
tetradic
#7E1E5C #7E701E #1E7E40 #1E2C7E
square
#7E1E5C #7E701E #1E7E40 #1E2C7E
split-complementary
#7E1E5C #2C7E1E #1E7E70
monochromatic
#1B0614 #4D1238 #7E1E5C #AF2A80 #D244A0
Accessibility & contrast
On white
9.43
#7E1E5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#7E1E5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1E5C
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1E5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1E5C | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3C5E
Deuteranopia (green-blind)
#474C5A
Tritanopia (blue-blind)
#871C3A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e1e5c; /* rgb */ color: rgb(126, 30, 92); /* oklch */ color: oklch(41.4% 0.145 345.7);
Tailwind
colors: {
custom: {
50: '#a7648a',
500: '#7e1e5c',
950: '#000000',
},
}SCSS
$custom: #7e1e5c; $custom-light: #a7648a; $custom-dark: #000000;
JSON
{
"hex": "#7e1e5c",
"rgb": {
"r": 126,
"g": 30,
"b": 92
},
"hsl": {
"h": 321.25,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.4137,
"c": 0.14527,
"h": 345.7
},
"luminance": 0.06137
}Semantic roles & 50–950 ramp
primary
#7E1E5C
secondary
#47B16C
accent
#E57C43
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C