#7E1945#7E1945
#7E1945 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.139 H 359.7°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1945 |
|---|---|
| RGB | rgb(126, 25, 69) |
| HSL | hsl(334, 67%, 30%) |
| HSV | hsv(334, 80%, 49%) |
| CMYK | cmyk(0%, 80.2%, 45.2%, 50.6%) |
| CIE-LAB | lab(28.28, 45.40, -0.50) |
| CIE-LCH | lch(28.28, 45.40, 359.37°) |
| OKLab | oklab(40% 0.1395 -0.0008) |
| OKLCH | oklch(40% 0.139 359.7) |
| XYZ | xyz(10.0268, 5.5619, 6.1746) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.03
Wine (survey)
#80013F
ΔE00 2.25
Merlot
#730039
ΔE00 3.62
Mulberry
#920A4E
ΔE00 3.88
Reddish Purple
#910951
ΔE00 4.06
Berry
#990F4B
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1945 #197E52
analogous
#7E1978 #7E1945 #7E1F19
triadic
#7E1945 #457E19 #19457E
tetradic
#7E1945 #787E19 #197E52 #1F197E
square
#7E1945 #787E19 #197E52 #1F197E
split-complementary
#7E1945 #197E1F #19787E
monochromatic
#1A050E #4B0F29 #7E1945 #B12361 #D83A7F
Accessibility & contrast
On white
9.94
#7E1945 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7E1945 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1945
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1945 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1945 | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303646
Deuteranopia (green-blind)
#4C4A43
Tritanopia (blue-blind)
#89052D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1945; /* rgb */ color: rgb(126, 25, 69); /* oklch */ color: oklch(40.0% 0.139 359.7);
Tailwind
colors: {
custom: {
50: '#a86178',
500: '#7e1945',
950: '#000000',
},
}SCSS
$custom: #7e1945; $custom-light: #a86178; $custom-dark: #000000;
JSON
{
"hex": "#7e1945",
"rgb": {
"r": 126,
"g": 25,
"b": 69
},
"hsl": {
"h": 333.861,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.40002,
"c": 0.13948,
"h": 359.7
},
"luminance": 0.05561
}Semantic roles & 50–950 ramp
primary
#7E1945
secondary
#41B281
accent
#EA9F3E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B