#7E1F5B#7E1F5B
#7E1F5B is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.143 H 346.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1F5B |
|---|---|
| RGB | rgb(126, 31, 91) |
| HSL | hsl(322, 61%, 31%) |
| HSV | hsv(322, 75%, 49%) |
| CMYK | cmyk(0%, 75.4%, 27.8%, 50.6%) |
| CIE-LAB | lab(29.84, 45.94, -12.70) |
| CIE-LCH | lch(29.84, 47.66, 344.55°) |
| OKLab | oklab(41.42% 0.1395 -0.0336) |
| OKLCH | oklch(41.42% 0.143 346.4) |
| XYZ | xyz(10.9830, 6.1721, 10.5084) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.44
Rich Purple
#720058
ΔE00 4.90
Red Purple
#820747
ΔE00 5.58
Dark Magenta
#960056
ΔE00 5.65
Reddish Purple
#910951
ΔE00 5.66
Red Violet
#9E0168
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1F5B #1F7E42
analogous
#711F7E #7E1F5B #7E1F2B
triadic
#7E1F5B #5B7E1F #1F5B7E
tetradic
#7E1F5B #7E711F #1F7E42 #1F2B7E
square
#7E1F5B #7E711F #1F7E42 #1F2B7E
split-complementary
#7E1F5B #2B7E1F #1F7E71
monochromatic
#1C0714 #4D1338 #7E1F5B #AF2B7E #D1469E
Accessibility & contrast
On white
9.40
#7E1F5B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#7E1F5B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1F5B
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1F5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1F5B | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3C5D
Deuteranopia (green-blind)
#484C59
Tritanopia (blue-blind)
#871C3A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e1f5b; /* rgb */ color: rgb(126, 31, 91); /* oklch */ color: oklch(41.4% 0.143 346.4);
Tailwind
colors: {
custom: {
50: '#a76489',
500: '#7e1f5b',
950: '#000000',
},
}SCSS
$custom: #7e1f5b; $custom-light: #a76489; $custom-dark: #000000;
JSON
{
"hex": "#7e1f5b",
"rgb": {
"r": 126,
"g": 31,
"b": 91
},
"hsl": {
"h": 322.105,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.41418,
"c": 0.14345,
"h": 346.4
},
"luminance": 0.06171
}Semantic roles & 50–950 ramp
primary
#7E1F5B
secondary
#48B16F
accent
#E47F44
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C