#7E1231#7E1231
#7E1231 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.141 H 11.4°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1231 |
|---|---|
| RGB | rgb(126, 18, 49) |
| HSL | hsl(343, 75%, 28%) |
| HSV | hsv(343, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 61.1%, 50.6%) |
| CIE-LAB | lab(26.99, 45.71, 11.18) |
| CIE-LCH | lch(26.99, 47.06, 13.75°) |
| OKLab | oklab(38.87% 0.1383 0.0278) |
| OKLCH | oklch(38.87% 0.141 11.4) |
| XYZ | xyz(9.3758, 5.0914, 3.3942) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 1.73
Red Wine
#8C0034
ΔE00 2.72
Wine Red
#7B0323
ΔE00 3.91
Burgundy
#800020
ΔE00 5.35
Maroon (survey)
#650021
ΔE00 5.51
Wine (survey)
#80013F
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1231 #127E5F
analogous
#7E1267 #7E1231 #7E2912
triadic
#7E1231 #317E12 #12317E
tetradic
#7E1231 #677E12 #127E5F #29127E
square
#7E1231 #677E12 #127E5F #29127E
split-complementary
#7E1231 #127E29 #12677E
monochromatic
#1B040A #480A1C #7E1231 #B41A46 #E12A5E
Accessibility & contrast
On white
10.41
#7E1231 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7E1231 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1231
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1231 | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323231
Deuteranopia (green-blind)
#4D482E
Tritanopia (blue-blind)
#8A0020
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1231; /* rgb */ color: rgb(126, 18, 49); /* oklch */ color: oklch(38.9% 0.141 11.4);
Tailwind
colors: {
custom: {
50: '#aa5e68',
500: '#7e1231',
950: '#000000',
},
}SCSS
$custom: #7e1231; $custom-light: #aa5e68; $custom-dark: #000000;
JSON
{
"hex": "#7e1231",
"rgb": {
"r": 126,
"g": 18,
"b": 49
},
"hsl": {
"h": 342.778,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.38872,
"c": 0.14102,
"h": 11.4
},
"luminance": 0.0509
}Semantic roles & 50–950 ramp
primary
#7E1231
secondary
#38B490
accent
#F2BC36
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A