#7E0F38#7E0F38
#7E0F38 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.144 H 6.5°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7E0F38 |
|---|---|
| RGB | rgb(126, 15, 56) |
| HSL | hsl(338, 79%, 28%) |
| HSV | hsv(338, 88%, 49%) |
| CMYK | cmyk(0%, 88.1%, 55.6%, 50.6%) |
| CIE-LAB | lab(26.92, 46.97, 6.32) |
| CIE-LCH | lch(26.92, 47.39, 7.66°) |
| OKLab | oklab(38.87% 0.1435 0.0163) |
| OKLCH | oklch(38.87% 0.144 6.5) |
| XYZ | xyz(9.4897, 5.0642, 4.2184) |
| Luminance | 0.0506 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.99
Bordeaux
#7B002C
ΔE00 3.22
Red Wine
#8C0034
ΔE00 3.69
Merlot
#730039
ΔE00 4.03
Red Purple
#820747
ΔE00 4.81
Purple Red
#990147
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E0F38 #0F7E55
analogous
#7E0F6F #7E0F38 #7E1E0F
triadic
#7E0F38 #387E0F #0F387E
tetradic
#7E0F38 #6F7E0F #0F7E55 #1E0F7E
square
#7E0F38 #6F7E0F #0F7E55 #1E0F7E
split-complementary
#7E0F38 #0F7E1E #0F6F7E
monochromatic
#1B030C #470820 #7E0F38 #B51650 #E5236A
Accessibility & contrast
On white
10.43
#7E0F38 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#7E0F38 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E0F38
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E0F38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E0F38 | 1.00 | 10.43 | 2.01 | 10.43 |
| #FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3239
Deuteranopia (green-blind)
#4C4735
Tritanopia (blue-blind)
#8A0022
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e0f38; /* rgb */ color: rgb(126, 15, 56); /* oklch */ color: oklch(38.9% 0.144 6.5);
Tailwind
colors: {
custom: {
50: '#a95d6e',
500: '#7e0f38',
950: '#000000',
},
}SCSS
$custom: #7e0f38; $custom-light: #a95d6e; $custom-dark: #000000;
JSON
{
"hex": "#7e0f38",
"rgb": {
"r": 126,
"g": 15,
"b": 56
},
"hsl": {
"h": 337.838,
"s": 78.723,
"l": 27.647
},
"oklch": {
"l": 0.38874,
"c": 0.14442,
"h": 6.5
},
"luminance": 0.05063
}Semantic roles & 50–950 ramp
primary
#7E0F38
secondary
#34B585
accent
#F5AD33
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A