#7E1958#7E1958
#7E1958 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.149 H 347.7°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1958 |
|---|---|
| RGB | rgb(126, 25, 88) |
| HSL | hsl(323, 67%, 30%) |
| HSV | hsv(323, 80%, 49%) |
| CMYK | cmyk(0%, 80.2%, 30.2%, 50.6%) |
| CIE-LAB | lab(29.00, 47.58, -12.03) |
| CIE-LCH | lch(29.00, 49.08, 345.81°) |
| OKLab | oklab(40.76% 0.1451 -0.0317) |
| OKLCH | oklch(40.76% 0.149 347.7) |
| XYZ | xyz(10.7138, 5.8367, 9.7930) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.73
Rich Purple
#720058
ΔE00 4.53
Red Purple
#820747
ΔE00 4.89
Reddish Purple
#910951
ΔE00 5.24
Dark Magenta
#960056
ΔE00 5.29
Red Violet
#9E0168
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1958 #197E3F
analogous
#71197E #7E1958 #7E1926
triadic
#7E1958 #587E19 #19587E
tetradic
#7E1958 #7E7119 #197E3F #19267E
square
#7E1958 #7E7119 #197E3F #19267E
split-complementary
#7E1958 #267E19 #197E71
monochromatic
#1A0512 #4B0F34 #7E1958 #B1237C #D83A9C
Accessibility & contrast
On white
9.69
#7E1958 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7E1958 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1958
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1958 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1958 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29395A
Deuteranopia (green-blind)
#474B56
Tritanopia (blue-blind)
#871436
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1958; /* rgb */ color: rgb(126, 25, 88); /* oklch */ color: oklch(40.8% 0.149 347.7);
Tailwind
colors: {
custom: {
50: '#a76287',
500: '#7e1958',
950: '#000000',
},
}SCSS
$custom: #7e1958; $custom-light: #a76287; $custom-dark: #000000;
JSON
{
"hex": "#7e1958",
"rgb": {
"r": 126,
"g": 25,
"b": 88
},
"hsl": {
"h": 322.574,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.4076,
"c": 0.14851,
"h": 347.7
},
"luminance": 0.05835
}Semantic roles & 50–950 ramp
primary
#7E1958
secondary
#41B26B
accent
#EA7F3E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C