#7E135F#7E135F
#7E135F is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.7% C 0.158 H 343.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7E135F |
|---|---|
| RGB | rgb(126, 19, 95) |
| HSL | hsl(317, 74%, 28%) |
| HSV | hsv(317, 85%, 49%) |
| CMYK | cmyk(0%, 84.9%, 24.6%, 50.6%) |
| CIE-LAB | lab(28.72, 50.20, -17.04) |
| CIE-LCH | lch(28.72, 53.01, 341.25°) |
| OKLab | oklab(40.66% 0.1518 -0.0457) |
| OKLCH | oklch(40.66% 0.158 343.3) |
| XYZ | xyz(10.9031, 5.7288, 11.3558) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.05
Rich Purple
#720058
ΔE00 3.20
Darkish Purple
#751973
ΔE00 5.88
Red Violet
#9E0168
ΔE00 6.13
Grape Purple
#5D1451
ΔE00 6.63
Dark Magenta
#960056
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E135F #137E32
analogous
#67137E #7E135F #7E1329
triadic
#7E135F #5F7E13 #135F7E
tetradic
#7E135F #7E6713 #137E32 #13297E
square
#7E135F #7E6713 #137E32 #13297E
split-complementary
#7E135F #297E13 #137E67
monochromatic
#1B0414 #490B37 #7E135F #B31B87 #DF2CAB
Accessibility & contrast
On white
9.79
#7E135F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7E135F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E135F
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E135F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E135F | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#213961
Deuteranopia (green-blind)
#434A5D
Tritanopia (blue-blind)
#871339
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e135f; /* rgb */ color: rgb(126, 19, 95); /* oklch */ color: oklch(40.7% 0.158 343.3);
Tailwind
colors: {
custom: {
50: '#a7608c',
500: '#7e135f',
950: '#000000',
},
}SCSS
$custom: #7e135f; $custom-light: #a7608c; $custom-dark: #000000;
JSON
{
"hex": "#7e135f",
"rgb": {
"r": 126,
"g": 19,
"b": 95
},
"hsl": {
"h": 317.383,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.40661,
"c": 0.15848,
"h": 343.3
},
"luminance": 0.05728
}Semantic roles & 50–950 ramp
primary
#7E135F
secondary
#39B45D
accent
#F06D37
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D