#7E135E#7E135E
#7E135E is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.158 H 343.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7E135E |
|---|---|
| RGB | rgb(126, 19, 94) |
| HSL | hsl(318, 74%, 28%) |
| HSV | hsv(318, 85%, 49%) |
| CMYK | cmyk(0%, 84.9%, 25.4%, 50.6%) |
| CIE-LAB | lab(28.67, 50.06, -16.46) |
| CIE-LCH | lch(28.67, 52.70, 341.80°) |
| OKLab | oklab(40.61% 0.1516 -0.044) |
| OKLCH | oklch(40.61% 0.158 343.8) |
| XYZ | xyz(10.8579, 5.7107, 11.1180) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.88
Rich Purple
#720058
ΔE00 3.24
Red Violet
#9E0168
ΔE00 6.08
Darkish Purple
#751973
ΔE00 6.12
Dark Magenta
#960056
ΔE00 6.46
Red Purple
#820747
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E135E #137E33
analogous
#68137E #7E135E #7E1328
triadic
#7E135E #5E7E13 #135E7E
tetradic
#7E135E #7E6813 #137E33 #13287E
square
#7E135E #7E6813 #137E33 #13287E
split-complementary
#7E135E #287E13 #137E68
monochromatic
#1B0414 #490B36 #7E135E #B31B86 #DF2CAA
Accessibility & contrast
On white
9.80
#7E135E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7E135E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E135E
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E135E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E135E | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#223860
Deuteranopia (green-blind)
#434A5C
Tritanopia (blue-blind)
#871238
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e135e; /* rgb */ color: rgb(126, 19, 94); /* oklch */ color: oklch(40.6% 0.158 343.8);
Tailwind
colors: {
custom: {
50: '#a7608b',
500: '#7e135e',
950: '#000000',
},
}SCSS
$custom: #7e135e; $custom-light: #a7608b; $custom-dark: #000000;
JSON
{
"hex": "#7e135e",
"rgb": {
"r": 126,
"g": 19,
"b": 94
},
"hsl": {
"h": 317.944,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.40612,
"c": 0.15786,
"h": 343.8
},
"luminance": 0.0571
}Semantic roles & 50–950 ramp
primary
#7E135E
secondary
#39B45E
accent
#F06F37
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D