#7E1843#7E1843
#7E1843 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.140 H 0.8°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1843 |
|---|---|
| RGB | rgb(126, 24, 67) |
| HSL | hsl(335, 68%, 29%) |
| HSV | hsv(335, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 46.8%, 50.6%) |
| CIE-LAB | lab(28.10, 45.51, 0.59) |
| CIE-LCH | lch(28.10, 45.51, 0.74°) |
| OKLab | oklab(39.85% 0.1398 0.002) |
| OKLCH | oklch(39.85% 0.14 0.8) |
| XYZ | xyz(9.9447, 5.4955, 5.8462) |
| Luminance | 0.0549 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.99
Red Purple
#820747
ΔE00 2.32
Merlot
#730039
ΔE00 3.45
Mulberry
#920A4E
ΔE00 4.02
Reddish Purple
#910951
ΔE00 4.33
Berry
#990F4B
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1843 #187E53
analogous
#7E1876 #7E1843 #7E2018
triadic
#7E1843 #437E18 #18437E
tetradic
#7E1843 #767E18 #187E53 #20187E
square
#7E1843 #767E18 #187E53 #20187E
split-complementary
#7E1843 #187E20 #18767E
monochromatic
#1A050E #4B0E28 #7E1843 #B1225E #D9377C
Accessibility & contrast
On white
10.01
#7E1843 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7E1843 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1843
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1843 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1843 | 1.00 | 10.01 | 2.10 | 10.01 |
| #FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303644
Deuteranopia (green-blind)
#4C4941
Tritanopia (blue-blind)
#89012B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1843; /* rgb */ color: rgb(126, 24, 67); /* oklch */ color: oklch(39.9% 0.140 0.8);
Tailwind
colors: {
custom: {
50: '#a86176',
500: '#7e1843',
950: '#000000',
},
}SCSS
$custom: #7e1843; $custom-light: #a86176; $custom-dark: #000000;
JSON
{
"hex": "#7e1843",
"rgb": {
"r": 126,
"g": 24,
"b": 67
},
"hsl": {
"h": 334.706,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39851,
"c": 0.1398,
"h": 0.8
},
"luminance": 0.05494
}Semantic roles & 50–950 ramp
primary
#7E1843
secondary
#3FB282
accent
#EBA23D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B