#7E1845#7E1845
#7E1845 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.141 H 359.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1845 |
|---|---|
| RGB | rgb(126, 24, 69) |
| HSL | hsl(334, 68%, 29%) |
| HSV | hsv(334, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 45.2%, 50.6%) |
| CIE-LAB | lab(28.17, 45.71, -0.66) |
| CIE-LCH | lch(28.17, 45.72, 359.17°) |
| OKLab | oklab(39.92% 0.1405 -0.0012) |
| OKLCH | oklch(39.92% 0.141 359.5) |
| XYZ | xyz(10.0058, 5.5199, 6.1676) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.89
Wine (survey)
#80013F
ΔE00 2.17
Merlot
#730039
ΔE00 3.53
Mulberry
#920A4E
ΔE00 3.85
Reddish Purple
#910951
ΔE00 4.00
Dark Magenta
#960056
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1845 #187E51
analogous
#7E1878 #7E1845 #7E1E18
triadic
#7E1845 #457E18 #18457E
tetradic
#7E1845 #787E18 #187E51 #1E187E
square
#7E1845 #787E18 #187E51 #1E187E
split-complementary
#7E1845 #187E1E #18787E
monochromatic
#1A050E #4B0E29 #7E1845 #B12261 #D9377F
Accessibility & contrast
On white
9.98
#7E1845 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7E1845 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1845
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1845 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1845 | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303646
Deuteranopia (green-blind)
#4B4943
Tritanopia (blue-blind)
#89032C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1845; /* rgb */ color: rgb(126, 24, 69); /* oklch */ color: oklch(39.9% 0.141 359.5);
Tailwind
colors: {
custom: {
50: '#a86178',
500: '#7e1845',
950: '#000000',
},
}SCSS
$custom: #7e1845; $custom-light: #a86178; $custom-dark: #000000;
JSON
{
"hex": "#7e1845",
"rgb": {
"r": 126,
"g": 24,
"b": 69
},
"hsl": {
"h": 333.529,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.3992,
"c": 0.14051,
"h": 359.5
},
"luminance": 0.05519
}Semantic roles & 50–950 ramp
primary
#7E1845
secondary
#3FB280
accent
#EB9E3D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B