#7E1F3F#7E1F3F
#7E1F3F is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.131 H 5.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1F3F |
|---|---|
| RGB | rgb(126, 31, 63) |
| HSL | hsl(340, 61%, 31%) |
| HSV | hsv(340, 75%, 49%) |
| CMYK | cmyk(0%, 75.4%, 50%, 50.6%) |
| CIE-LAB | lab(28.84, 42.71, 4.33) |
| CIE-LCH | lch(28.84, 42.93, 5.79°) |
| OKLab | oklab(40.35% 0.1305 0.0115) |
| OKLCH | oklch(40.35% 0.131 5) |
| XYZ | xyz(9.9922, 5.7758, 5.2903) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.55
Red Purple
#820747
ΔE00 4.58
Merlot
#730039
ΔE00 4.78
Red Wine
#8C0034
ΔE00 4.92
Bordeaux
#7B002C
ΔE00 5.06
Purple Red
#990147
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1F3F #1F7E5E
analogous
#7E1F6E #7E1F3F #7E2E1F
triadic
#7E1F3F #3F7E1F #1F3F7E
tetradic
#7E1F3F #6E7E1F #1F7E5E #2E1F7E
square
#7E1F3F #6E7E1F #1F7E5E #2E1F7E
split-complementary
#7E1F3F #1F7E2E #1F6E7E
monochromatic
#1C070E #4D1326 #7E1F3F #AF2B58 #D14675
Accessibility & contrast
On white
9.75
#7E1F3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7E1F3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1F3F
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1F3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1F3F | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353840
Deuteranopia (green-blind)
#4E4B3D
Tritanopia (blue-blind)
#890C2C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1f3f; /* rgb */ color: rgb(126, 31, 63); /* oklch */ color: oklch(40.4% 0.131 5.0);
Tailwind
colors: {
custom: {
50: '#a86373',
500: '#7e1f3f',
950: '#000000',
},
}SCSS
$custom: #7e1f3f; $custom-light: #a86373; $custom-dark: #000000;
JSON
{
"hex": "#7e1f3f",
"rgb": {
"r": 126,
"g": 31,
"b": 63
},
"hsl": {
"h": 339.789,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.40354,
"c": 0.13102,
"h": 5
},
"luminance": 0.05774
}Semantic roles & 50–950 ramp
primary
#7E1F3F
secondary
#48B18E
accent
#E4AE44
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B