#7E1138#7E1138
#7E1138 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.143 H 6.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1138 |
|---|---|
| RGB | rgb(126, 17, 56) |
| HSL | hsl(339, 76%, 28%) |
| HSV | hsv(339, 87%, 49%) |
| CMYK | cmyk(0%, 86.5%, 55.6%, 50.6%) |
| CIE-LAB | lab(27.08, 46.49, 6.55) |
| CIE-LCH | lch(27.08, 46.95, 8.02°) |
| OKLab | oklab(39% 0.142 0.0169) |
| OKLCH | oklch(39% 0.143 6.8) |
| XYZ | xyz(9.5194, 5.1234, 4.2283) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.17
Wine (survey)
#80013F
ΔE00 3.20
Red Wine
#8C0034
ΔE00 3.61
Merlot
#730039
ΔE00 4.22
Red Purple
#820747
ΔE00 4.97
Purple Red
#990147
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1138 #117E57
analogous
#7E116E #7E1138 #7E2011
triadic
#7E1138 #387E11 #11387E
tetradic
#7E1138 #6E7E11 #117E57 #20117E
square
#7E1138 #6E7E11 #117E57 #20117E
split-complementary
#7E1138 #117E20 #116E7E
monochromatic
#1B040C #480A20 #7E1138 #B41850 #E2276A
Accessibility & contrast
On white
10.37
#7E1138 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7E1138 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1138
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1138 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1138 | 1.00 | 10.37 | 2.02 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303239
Deuteranopia (green-blind)
#4C4835
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1138; /* rgb */ color: rgb(126, 17, 56); /* oklch */ color: oklch(39.0% 0.143 6.8);
Tailwind
colors: {
custom: {
50: '#a95e6e',
500: '#7e1138',
950: '#000000',
},
}SCSS
$custom: #7e1138; $custom-light: #a95e6e; $custom-dark: #000000;
JSON
{
"hex": "#7e1138",
"rgb": {
"r": 126,
"g": 17,
"b": 56
},
"hsl": {
"h": 338.532,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.38997,
"c": 0.14295,
"h": 6.8
},
"luminance": 0.05122
}Semantic roles & 50–950 ramp
primary
#7E1138
secondary
#37B487
accent
#F3AF35
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A