#7E1237#7E1237
#7E1237 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.142 H 7.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1237 |
|---|---|
| RGB | rgb(126, 18, 55) |
| HSL | hsl(339, 75%, 28%) |
| HSV | hsv(339, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 56.3%, 50.6%) |
| CIE-LAB | lab(27.15, 46.16, 7.32) |
| CIE-LCH | lch(27.15, 46.74, 9.01°) |
| OKLab | oklab(39.03% 0.1407 0.0187) |
| OKLCH | oklch(39.03% 0.142 7.6) |
| XYZ | xyz(9.5110, 5.1455, 4.1061) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.85
Red Wine
#8C0034
ΔE00 3.35
Wine (survey)
#80013F
ΔE00 3.64
Merlot
#730039
ΔE00 4.60
Red Purple
#820747
ΔE00 5.41
Purple Red
#990147
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1237 #127E59
analogous
#7E126D #7E1237 #7E2312
triadic
#7E1237 #377E12 #12377E
tetradic
#7E1237 #6D7E12 #127E59 #23127E
square
#7E1237 #6D7E12 #127E59 #23127E
split-complementary
#7E1237 #127E23 #126D7E
monochromatic
#1B040C #480A20 #7E1237 #B41A4E #E12A68
Accessibility & contrast
On white
10.35
#7E1237 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E1237 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1237
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1237 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1237 | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313238
Deuteranopia (green-blind)
#4C4834
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1237; /* rgb */ color: rgb(126, 18, 55); /* oklch */ color: oklch(39.0% 0.142 7.6);
Tailwind
colors: {
custom: {
50: '#a95e6d',
500: '#7e1237',
950: '#000000',
},
}SCSS
$custom: #7e1237; $custom-light: #a95e6d; $custom-dark: #000000;
JSON
{
"hex": "#7e1237",
"rgb": {
"r": 126,
"g": 18,
"b": 55
},
"hsl": {
"h": 339.444,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.39033,
"c": 0.14197,
"h": 7.6
},
"luminance": 0.05144
}Semantic roles & 50–950 ramp
primary
#7E1237
secondary
#38B489
accent
#F2B136
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A