#7E1867#7E1867
#7E1867 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.159 H 339.2°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1867 |
|---|---|
| RGB | rgb(126, 24, 103) |
| HSL | hsl(314, 68%, 29%) |
| HSV | hsv(314, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 18.3%, 50.6%) |
| CIE-LAB | lab(29.59, 49.94, -20.89) |
| CIE-LCH | lch(29.59, 54.13, 337.30°) |
| OKLab | oklab(41.41% 0.1487 -0.0566) |
| OKLCH | oklch(41.41% 0.159 339.2) |
| XYZ | xyz(11.3793, 6.0693, 13.4015) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.84
Darkish Purple
#751973
ΔE00 4.20
Velvet
#750851
ΔE00 4.69
Purple
#800080
ΔE00 5.94
Grape
#6C3461
ΔE00 6.53
Red Violet
#9E0168
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1867 #187E2F
analogous
#62187E #7E1867 #7E1834
triadic
#7E1867 #677E18 #18677E
tetradic
#7E1867 #7E6218 #187E2F #18347E
square
#7E1867 #7E6218 #187E2F #18347E
split-complementary
#7E1867 #347E18 #187E62
monochromatic
#1A0515 #4B0E3D #7E1867 #B12291 #D937B5
Accessibility & contrast
On white
9.49
#7E1867 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7E1867 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1867
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1867 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1867 | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F3C69
Deuteranopia (green-blind)
#414B65
Tritanopia (blue-blind)
#861D3E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e1867; /* rgb */ color: rgb(126, 24, 103); /* oklch */ color: oklch(41.4% 0.159 339.2);
Tailwind
colors: {
custom: {
50: '#a76292',
500: '#7e1867',
950: '#000000',
},
}SCSS
$custom: #7e1867; $custom-light: #a76292; $custom-dark: #000000;
JSON
{
"hex": "#7e1867",
"rgb": {
"r": 126,
"g": 24,
"b": 103
},
"hsl": {
"h": 313.529,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.41414,
"c": 0.15909,
"h": 339.2
},
"luminance": 0.06068
}Semantic roles & 50–950 ramp
primary
#7E1867
secondary
#3FB259
accent
#EB643D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E