#7E1A5B#7E1A5B
#7E1A5B is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.149 H 346.0°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1A5B |
|---|---|
| RGB | rgb(126, 26, 91) |
| HSL | hsl(321, 66%, 30%) |
| HSV | hsv(321, 79%, 49%) |
| CMYK | cmyk(0%, 79.4%, 27.8%, 50.6%) |
| CIE-LAB | lab(29.24, 47.65, -13.63) |
| CIE-LCH | lch(29.24, 49.56, 344.04°) |
| OKLab | oklab(40.98% 0.1448 -0.0361) |
| OKLCH | oklch(40.98% 0.149 346) |
| XYZ | xyz(10.8624, 5.9309, 10.4682) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.90
Rich Purple
#720058
ΔE00 4.22
Red Purple
#820747
ΔE00 5.64
Dark Magenta
#960056
ΔE00 5.73
Reddish Purple
#910951
ΔE00 5.81
Red Violet
#9E0168
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1A5B #1A7E3D
analogous
#6F1A7E #7E1A5B #7E1A29
triadic
#7E1A5B #5B7E1A #1A5B7E
tetradic
#7E1A5B #7E6F1A #1A7E3D #1A297E
square
#7E1A5B #7E6F1A #1A7E3D #1A297E
split-complementary
#7E1A5B #297E1A #1A7E6F
monochromatic
#190512 #4B1036 #7E1A5B #B12480 #D73CA0
Accessibility & contrast
On white
9.61
#7E1A5B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7E1A5B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1A5B
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1A5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1A5B | 1.00 | 9.61 | 2.19 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#283A5D
Deuteranopia (green-blind)
#464B59
Tritanopia (blue-blind)
#871738
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e1a5b; /* rgb */ color: rgb(126, 26, 91); /* oklch */ color: oklch(41.0% 0.149 346.0);
Tailwind
colors: {
custom: {
50: '#a76289',
500: '#7e1a5b',
950: '#000000',
},
}SCSS
$custom: #7e1a5b; $custom-light: #a76289; $custom-dark: #000000;
JSON
{
"hex": "#7e1a5b",
"rgb": {
"r": 126,
"g": 26,
"b": 91
},
"hsl": {
"h": 321,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.40978,
"c": 0.14922,
"h": 346
},
"luminance": 0.0593
}Semantic roles & 50–950 ramp
primary
#7E1A5B
secondary
#42B269
accent
#E97A3F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C