#7E1F3E#7E1F3E
#7E1F3E is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.3% C 0.131 H 5.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1F3E |
|---|---|
| RGB | rgb(126, 31, 62) |
| HSL | hsl(340, 61%, 31%) |
| HSV | hsv(340, 75%, 49%) |
| CMYK | cmyk(0%, 75.4%, 50.8%, 50.6%) |
| CIE-LAB | lab(28.81, 42.61, 4.96) |
| CIE-LCH | lch(28.81, 42.90, 6.64°) |
| OKLab | oklab(40.32% 0.1301 0.013) |
| OKLCH | oklch(40.32% 0.131 5.7) |
| XYZ | xyz(9.9645, 5.7647, 5.1445) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.76
Red Wine
#8C0034
ΔE00 4.68
Bordeaux
#7B002C
ΔE00 4.80
Red Purple
#820747
ΔE00 4.88
Merlot
#730039
ΔE00 4.94
Purple Red
#990147
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1F3E #1F7E5F
analogous
#7E1F6D #7E1F3E #7E2F1F
triadic
#7E1F3E #3E7E1F #1F3E7E
tetradic
#7E1F3E #6D7E1F #1F7E5F #2F1F7E
square
#7E1F3E #6D7E1F #1F7E5F #2F1F7E
split-complementary
#7E1F3E #1F7E2F #1F6D7E
monochromatic
#1C070E #4D1326 #7E1F3E #AF2B56 #D14673
Accessibility & contrast
On white
9.76
#7E1F3E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7E1F3E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1F3E
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1F3E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1F3E | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36383F
Deuteranopia (green-blind)
#4F4B3C
Tritanopia (blue-blind)
#8A0B2C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1f3e; /* rgb */ color: rgb(126, 31, 62); /* oklch */ color: oklch(40.3% 0.131 5.7);
Tailwind
colors: {
custom: {
50: '#a86373',
500: '#7e1f3e',
950: '#000000',
},
}SCSS
$custom: #7e1f3e; $custom-light: #a86373; $custom-dark: #000000;
JSON
{
"hex": "#7e1f3e",
"rgb": {
"r": 126,
"g": 31,
"b": 62
},
"hsl": {
"h": 340.421,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.40323,
"c": 0.13077,
"h": 5.7
},
"luminance": 0.05763
}Semantic roles & 50–950 ramp
primary
#7E1F3E
secondary
#48B18F
accent
#E4B044
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100608
muted
#7F7A7B