#7E1232#7E1232
#7E1232 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.141 H 10.7°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1232 |
|---|---|
| RGB | rgb(126, 18, 50) |
| HSL | hsl(342, 75%, 28%) |
| HSV | hsv(342, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 60.3%, 50.6%) |
| CIE-LAB | lab(27.02, 45.78, 10.54) |
| CIE-LCH | lch(27.02, 46.98, 12.96°) |
| OKLab | oklab(38.9% 0.1387 0.0263) |
| OKLCH | oklch(38.9% 0.141 10.7) |
| XYZ | xyz(9.3972, 5.0999, 3.5066) |
| Luminance | 0.0510 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 1.78
Red Wine
#8C0034
ΔE00 2.71
Wine Red
#7B0323
ΔE00 4.26
Wine (survey)
#80013F
ΔE00 5.38
Maroon (survey)
#650021
ΔE00 5.58
Burgundy
#800020
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1232 #127E5E
analogous
#7E1268 #7E1232 #7E2812
triadic
#7E1232 #327E12 #12327E
tetradic
#7E1232 #687E12 #127E5E #28127E
square
#7E1232 #687E12 #127E5E #28127E
split-complementary
#7E1232 #127E28 #12687E
monochromatic
#1B040B #480A1D #7E1232 #B41A47 #E12A60
Accessibility & contrast
On white
10.40
#7E1232 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7E1232 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1232
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1232 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1232 | 1.00 | 10.40 | 2.02 | 10.40 |
| #FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323232
Deuteranopia (green-blind)
#4D482F
Tritanopia (blue-blind)
#8A0021
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1232; /* rgb */ color: rgb(126, 18, 50); /* oklch */ color: oklch(38.9% 0.141 10.7);
Tailwind
colors: {
custom: {
50: '#aa5e69',
500: '#7e1232',
950: '#000000',
},
}SCSS
$custom: #7e1232; $custom-light: #aa5e69; $custom-dark: #000000;
JSON
{
"hex": "#7e1232",
"rgb": {
"r": 126,
"g": 18,
"b": 50
},
"hsl": {
"h": 342.222,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.38898,
"c": 0.14114,
"h": 10.7
},
"luminance": 0.05099
}Semantic roles & 50–950 ramp
primary
#7E1232
secondary
#38B48F
accent
#F2BA36
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A