#7E1E4B#7E1E4B
#7E1E4B is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.136 H 356.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1E4B |
|---|---|
| RGB | rgb(126, 30, 75) |
| HSL | hsl(332, 62%, 31%) |
| HSV | hsv(332, 76%, 49%) |
| CMYK | cmyk(0%, 76.2%, 40.5%, 50.6%) |
| CIE-LAB | lab(29.09, 44.33, -3.30) |
| CIE-LCH | lch(29.09, 44.45, 355.74°) |
| OKLab | oklab(40.66% 0.1361 -0.0081) |
| OKLCH | oklch(40.66% 0.136 356.6) |
| XYZ | xyz(10.3392, 5.8734, 7.2445) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.38
Wine (survey)
#80013F
ΔE00 3.62
Reddish Purple
#910951
ΔE00 3.78
Mulberry
#920A4E
ΔE00 3.97
Merlot
#730039
ΔE00 4.68
Dark Magenta
#960056
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1E4B #1E7E51
analogous
#7E1E7B #7E1E4B #7E211E
triadic
#7E1E4B #4B7E1E #1E4B7E
tetradic
#7E1E4B #7B7E1E #1E7E51 #211E7E
square
#7E1E4B #7B7E1E #1E7E51 #211E7E
split-complementary
#7E1E4B #1E7E21 #1E7B7E
monochromatic
#1B0610 #4D122E #7E1E4B #AF2A68 #D24487
Accessibility & contrast
On white
9.66
#7E1E4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7E1E4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1E4B
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1E4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1E4B | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#31394C
Deuteranopia (green-blind)
#4C4B49
Tritanopia (blue-blind)
#891232
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e1e4b; /* rgb */ color: rgb(126, 30, 75); /* oklch */ color: oklch(40.7% 0.136 356.6);
Tailwind
colors: {
custom: {
50: '#a8637d',
500: '#7e1e4b',
950: '#000000',
},
}SCSS
$custom: #7e1e4b; $custom-light: #a8637d; $custom-dark: #000000;
JSON
{
"hex": "#7e1e4b",
"rgb": {
"r": 126,
"g": 30,
"b": 75
},
"hsl": {
"h": 331.875,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.40664,
"c": 0.1363,
"h": 356.6
},
"luminance": 0.05872
}Semantic roles & 50–950 ramp
primary
#7E1E4B
secondary
#47B17F
accent
#E59943
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B