#7E1E4D#7E1E4D
#7E1E4D is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.137 H 355.3°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1E4D |
|---|---|
| RGB | rgb(126, 30, 77) |
| HSL | hsl(331, 62%, 31%) |
| HSV | hsv(331, 76%, 49%) |
| CMYK | cmyk(0%, 76.2%, 38.9%, 50.6%) |
| CIE-LAB | lab(29.16, 44.55, -4.52) |
| CIE-LCH | lch(29.16, 44.78, 354.21°) |
| OKLab | oklab(40.74% 0.1367 -0.0114) |
| OKLCH | oklch(40.74% 0.137 355.3) |
| XYZ | xyz(10.4087, 5.9013, 7.6107) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.54
Reddish Purple
#910951
ΔE00 3.77
Wine (survey)
#80013F
ΔE00 4.04
Mulberry
#920A4E
ΔE00 4.12
Dark Magenta
#960056
ΔE00 4.71
Merlot
#730039
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1E4D #1E7E4F
analogous
#7E1E7D #7E1E4D #7E1F1E
triadic
#7E1E4D #4D7E1E #1E4D7E
tetradic
#7E1E4D #7D7E1E #1E7E4F #1F1E7E
square
#7E1E4D #7D7E1E #1E7E4F #1F1E7E
split-complementary
#7E1E4D #1E7E1F #1E7D7E
monochromatic
#1B0611 #4D122F #7E1E4D #AF2A6B #D2448A
Accessibility & contrast
On white
9.63
#7E1E4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7E1E4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1E4D
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1E4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1E4D | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#31394E
Deuteranopia (green-blind)
#4B4B4B
Tritanopia (blue-blind)
#881333
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e1e4d; /* rgb */ color: rgb(126, 30, 77); /* oklch */ color: oklch(40.7% 0.137 355.3);
Tailwind
colors: {
custom: {
50: '#a8637e',
500: '#7e1e4d',
950: '#000000',
},
}SCSS
$custom: #7e1e4d; $custom-light: #a8637e; $custom-dark: #000000;
JSON
{
"hex": "#7e1e4d",
"rgb": {
"r": 126,
"g": 30,
"b": 77
},
"hsl": {
"h": 330.625,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.4074,
"c": 0.13718,
"h": 355.3
},
"luminance": 0.059
}Semantic roles & 50–950 ramp
primary
#7E1E4D
secondary
#47B17D
accent
#E59643
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C