#7E1056#7E1056
#7E1056 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.156 H 348.1°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1056 |
|---|---|
| RGB | rgb(126, 16, 86) |
| HSL | hsl(322, 77%, 28%) |
| HSV | hsv(322, 87%, 49%) |
| CMYK | cmyk(0%, 87.3%, 31.7%, 50.6%) |
| CIE-LAB | lab(28.06, 49.77, -12.14) |
| CIE-LCH | lch(28.06, 51.23, 346.29°) |
| OKLab | oklab(40.05% 0.1523 -0.032) |
| OKLCH | oklch(40.05% 0.156 348.1) |
| XYZ | xyz(10.4698, 5.4794, 9.3086) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.06
Rich Purple
#720058
ΔE00 4.03
Red Purple
#820747
ΔE00 4.62
Reddish Purple
#910951
ΔE00 5.21
Dark Magenta
#960056
ΔE00 5.26
Red Violet
#9E0168
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1056 #107E38
analogous
#6F107E #7E1056 #7E101F
triadic
#7E1056 #567E10 #10567E
tetradic
#7E1056 #7E6F10 #107E38 #101F7E
square
#7E1056 #7E6F10 #107E38 #101F7E
split-complementary
#7E1056 #1F7E10 #107E6F
monochromatic
#1B0313 #480931 #7E1056 #B4177B #E3259E
Accessibility & contrast
On white
10.02
#7E1056 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7E1056 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1056
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1056 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1056 | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#253658
Deuteranopia (green-blind)
#454954
Tritanopia (blue-blind)
#880733
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1056; /* rgb */ color: rgb(126, 16, 86); /* oklch */ color: oklch(40.1% 0.156 348.1);
Tailwind
colors: {
custom: {
50: '#a85f85',
500: '#7e1056',
950: '#000000',
},
}SCSS
$custom: #7e1056; $custom-light: #a85f85; $custom-dark: #000000;
JSON
{
"hex": "#7e1056",
"rgb": {
"r": 126,
"g": 16,
"b": 86
},
"hsl": {
"h": 321.818,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.40053,
"c": 0.15563,
"h": 348.1
},
"luminance": 0.05478
}Semantic roles & 50–950 ramp
primary
#7E1056
secondary
#36B464
accent
#F47A34
background
#FAF5F8
surface
#F4EAEF
border
#CEC6CA
text
#10050B
muted
#7F797C