#7E1F5E#7E1F5E
#7E1F5E is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.145 H 344.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1F5E |
|---|---|
| RGB | rgb(126, 31, 94) |
| HSL | hsl(320, 61%, 31%) |
| HSV | hsv(320, 75%, 49%) |
| CMYK | cmyk(0%, 75.4%, 25.4%, 50.6%) |
| CIE-LAB | lab(29.97, 46.35, -14.46) |
| CIE-LCH | lch(29.97, 48.55, 342.68°) |
| OKLab | oklab(41.56% 0.1401 -0.0385) |
| OKLCH | oklch(41.56% 0.145 344.6) |
| XYZ | xyz(11.1150, 6.2249, 11.2037) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.61
Rich Purple
#720058
ΔE00 4.58
Grape
#6C3461
ΔE00 5.82
Red Violet
#9E0168
ΔE00 5.94
Dark Magenta
#960056
ΔE00 6.14
Reddish Purple
#910951
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1F5E #1F7E3F
analogous
#6E1F7E #7E1F5E #7E1F2E
triadic
#7E1F5E #5E7E1F #1F5E7E
tetradic
#7E1F5E #7E6E1F #1F7E3F #1F2E7E
square
#7E1F5E #7E6E1F #1F7E3F #1F2E7E
split-complementary
#7E1F5E #2E7E1F #1F7E6E
monochromatic
#1C0715 #4D1339 #7E1F5E #AF2B83 #D146A2
Accessibility & contrast
On white
9.35
#7E1F5E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7E1F5E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1F5E
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1F5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1F5E | 1.00 | 9.35 | 2.24 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3C60
Deuteranopia (green-blind)
#474C5C
Tritanopia (blue-blind)
#871E3C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7e1f5e; /* rgb */ color: rgb(126, 31, 94); /* oklch */ color: oklch(41.6% 0.145 344.6);
Tailwind
colors: {
custom: {
50: '#a7648b',
500: '#7e1f5e',
950: '#000000',
},
}SCSS
$custom: #7e1f5e; $custom-light: #a7648b; $custom-dark: #000000;
JSON
{
"hex": "#7e1f5e",
"rgb": {
"r": 126,
"g": 31,
"b": 94
},
"hsl": {
"h": 320.211,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.41555,
"c": 0.14531,
"h": 344.6
},
"luminance": 0.06224
}Semantic roles & 50–950 ramp
primary
#7E1F5E
secondary
#48B16B
accent
#E47A44
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D