#7E1545#7E1545
#7E1545 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.143 H 359.0°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1545 |
|---|---|
| RGB | rgb(126, 21, 69) |
| HSL | hsl(333, 71%, 29%) |
| HSV | hsv(333, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 45.2%, 50.6%) |
| CIE-LAB | lab(27.85, 46.60, -1.12) |
| CIE-LCH | lch(27.85, 46.62, 358.62°) |
| OKLab | oklab(39.69% 0.1434 -0.0024) |
| OKLCH | oklch(39.69% 0.143 359) |
| XYZ | xyz(9.9473, 5.4030, 6.1481) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.50
Wine (survey)
#80013F
ΔE00 1.97
Merlot
#730039
ΔE00 3.32
Mulberry
#920A4E
ΔE00 3.81
Reddish Purple
#910951
ΔE00 3.89
Dark Magenta
#960056
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1545 #157E4E
analogous
#7E157A #7E1545 #7E1915
triadic
#7E1545 #457E15 #15457E
tetradic
#7E1545 #7A7E15 #157E4E #19157E
square
#7E1545 #7A7E15 #157E4E #19157E
split-complementary
#7E1545 #157E19 #157A7E
monochromatic
#1A040E #4A0C28 #7E1545 #B21E62 #DD317F
Accessibility & contrast
On white
10.09
#7E1545 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7E1545 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1545
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1545 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1545 | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3546
Deuteranopia (green-blind)
#4B4943
Tritanopia (blue-blind)
#89002B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1545; /* rgb */ color: rgb(126, 21, 69); /* oklch */ color: oklch(39.7% 0.143 359.0);
Tailwind
colors: {
custom: {
50: '#a86078',
500: '#7e1545',
950: '#000000',
},
}SCSS
$custom: #7e1545; $custom-light: #a86078; $custom-dark: #000000;
JSON
{
"hex": "#7e1545",
"rgb": {
"r": 126,
"g": 21,
"b": 69
},
"hsl": {
"h": 332.571,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.3969,
"c": 0.14339,
"h": 359
},
"luminance": 0.05402
}Semantic roles & 50–950 ramp
primary
#7E1545
secondary
#3CB37D
accent
#EE9C3A
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B