#7E1234#7E1234
#7E1234 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.141 H 9.5°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1234 |
|---|---|
| RGB | rgb(126, 18, 52) |
| HSL | hsl(341, 75%, 28%) |
| HSV | hsv(341, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 58.7%, 50.6%) |
| CIE-LAB | lab(27.07, 45.93, 9.25) |
| CIE-LCH | lch(27.07, 46.85, 11.38°) |
| OKLab | oklab(38.95% 0.1395 0.0233) |
| OKLCH | oklch(38.95% 0.141 9.5) |
| XYZ | xyz(9.4413, 5.1176, 3.7388) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.09
Red Wine
#8C0034
ΔE00 2.85
Wine (survey)
#80013F
ΔE00 4.67
Wine Red
#7B0323
ΔE00 4.95
Merlot
#730039
ΔE00 5.48
Maroon (survey)
#650021
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1234 #127E5C
analogous
#7E126A #7E1234 #7E2612
triadic
#7E1234 #347E12 #12347E
tetradic
#7E1234 #6A7E12 #127E5C #26127E
square
#7E1234 #6A7E12 #127E5C #26127E
split-complementary
#7E1234 #127E26 #126A7E
monochromatic
#1B040B #480A1E #7E1234 #B41A4A #E12A63
Accessibility & contrast
On white
10.38
#7E1234 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7E1234 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1234
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1234 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1234 | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313235
Deuteranopia (green-blind)
#4D4831
Tritanopia (blue-blind)
#8A0022
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1234; /* rgb */ color: rgb(126, 18, 52); /* oklch */ color: oklch(39.0% 0.141 9.5);
Tailwind
colors: {
custom: {
50: '#aa5e6b',
500: '#7e1234',
950: '#000000',
},
}SCSS
$custom: #7e1234; $custom-light: #aa5e6b; $custom-dark: #000000;
JSON
{
"hex": "#7e1234",
"rgb": {
"r": 126,
"g": 18,
"b": 52
},
"hsl": {
"h": 341.111,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.3895,
"c": 0.14143,
"h": 9.5
},
"luminance": 0.05116
}Semantic roles & 50–950 ramp
primary
#7E1234
secondary
#38B48D
accent
#F2B736
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A