#7E1236#7E1236
#7E1236 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.142 H 8.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1236 |
|---|---|
| RGB | rgb(126, 18, 54) |
| HSL | hsl(340, 75%, 28%) |
| HSV | hsv(340, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 57.1%, 50.6%) |
| CIE-LAB | lab(27.12, 46.08, 7.96) |
| CIE-LCH | lch(27.12, 46.76, 9.80°) |
| OKLab | oklab(39.01% 0.1403 0.0203) |
| OKLCH | oklch(39.01% 0.142 8.2) |
| XYZ | xyz(9.4873, 5.1360, 3.9811) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.58
Red Wine
#8C0034
ΔE00 3.15
Wine (survey)
#80013F
ΔE00 3.98
Merlot
#730039
ΔE00 4.88
Wine Red
#7B0323
ΔE00 5.65
Purple Red
#990147
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1236 #127E5A
analogous
#7E126C #7E1236 #7E2412
triadic
#7E1236 #367E12 #12367E
tetradic
#7E1236 #6C7E12 #127E5A #24127E
square
#7E1236 #6C7E12 #127E5A #24127E
split-complementary
#7E1236 #127E24 #126C7E
monochromatic
#1B040B #480A1F #7E1236 #B41A4D #E12A67
Accessibility & contrast
On white
10.36
#7E1236 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E1236 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1236
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1236 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1236 | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313237
Deuteranopia (green-blind)
#4D4833
Tritanopia (blue-blind)
#8A0022
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1236; /* rgb */ color: rgb(126, 18, 54); /* oklch */ color: oklch(39.0% 0.142 8.2);
Tailwind
colors: {
custom: {
50: '#a95e6c',
500: '#7e1236',
950: '#000000',
},
}SCSS
$custom: #7e1236; $custom-light: #a95e6c; $custom-dark: #000000;
JSON
{
"hex": "#7e1236",
"rgb": {
"r": 126,
"g": 18,
"b": 54
},
"hsl": {
"h": 340,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.39005,
"c": 0.14178,
"h": 8.2
},
"luminance": 0.05135
}Semantic roles & 50–950 ramp
primary
#7E1236
secondary
#38B48B
accent
#F2B336
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A