#7E1968#7E1968
#7E1968 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.5% C 0.159 H 338.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1968 |
|---|---|
| RGB | rgb(126, 25, 104) |
| HSL | hsl(313, 67%, 30%) |
| HSV | hsv(313, 80%, 49%) |
| CMYK | cmyk(0%, 80.2%, 17.5%, 50.6%) |
| CIE-LAB | lab(29.74, 49.78, -21.29) |
| CIE-LCH | lch(29.74, 54.15, 336.84°) |
| OKLab | oklab(41.54% 0.1479 -0.0577) |
| OKLCH | oklch(41.54% 0.159 338.7) |
| XYZ | xyz(11.4508, 6.1315, 13.6745) |
| Luminance | 0.0613 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 4.01
Darkish Purple
#751973
ΔE00 4.03
Velvet
#750851
ΔE00 4.91
Purple
#800080
ΔE00 5.78
Grape
#6C3461
ΔE00 6.49
Red Violet
#9E0168
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1968 #197E2F
analogous
#61197E #7E1968 #7E1936
triadic
#7E1968 #687E19 #19687E
tetradic
#7E1968 #7E6119 #197E2F #19367E
square
#7E1968 #7E6119 #197E2F #19367E
split-complementary
#7E1968 #367E19 #197E61
monochromatic
#1A0515 #4B0F3E #7E1968 #B12392 #D83AB5
Accessibility & contrast
On white
9.43
#7E1968 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#7E1968 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1968
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1968 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1968 | 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)
#1F3C6A
Deuteranopia (green-blind)
#414C66
Tritanopia (blue-blind)
#851E3F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e1968; /* rgb */ color: rgb(126, 25, 104); /* oklch */ color: oklch(41.5% 0.159 338.7);
Tailwind
colors: {
custom: {
50: '#a76293',
500: '#7e1968',
950: '#000000',
},
}SCSS
$custom: #7e1968; $custom-light: #a76293; $custom-dark: #000000;
JSON
{
"hex": "#7e1968",
"rgb": {
"r": 126,
"g": 25,
"b": 104
},
"hsl": {
"h": 313.069,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.41542,
"c": 0.15876,
"h": 338.7
},
"luminance": 0.0613
}Semantic roles & 50–950 ramp
primary
#7E1968
secondary
#41B259
accent
#EA633E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E