#7E155E#7E155E
#7E155E is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.156 H 343.9°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7E155E |
|---|---|
| RGB | rgb(126, 21, 94) |
| HSL | hsl(318, 71%, 29%) |
| HSV | hsv(318, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 25.4%, 50.6%) |
| CIE-LAB | lab(28.85, 49.54, -16.18) |
| CIE-LCH | lch(28.85, 52.11, 341.91°) |
| OKLab | oklab(40.74% 0.15 -0.0432) |
| OKLCH | oklch(40.74% 0.156 343.9) |
| XYZ | xyz(10.8932, 5.7813, 11.1297) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.94
Rich Purple
#720058
ΔE00 3.41
Red Violet
#9E0168
ΔE00 6.04
Darkish Purple
#751973
ΔE00 6.20
Dark Magenta
#960056
ΔE00 6.39
Red Purple
#820747
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E155E #157E35
analogous
#6A157E #7E155E #7E1529
triadic
#7E155E #5E7E15 #155E7E
tetradic
#7E155E #7E6A15 #157E35 #15297E
square
#7E155E #7E6A15 #157E35 #15297E
split-complementary
#7E155E #297E15 #157E6A
monochromatic
#1A0414 #4A0C37 #7E155E #B21E85 #DD31A8
Accessibility & contrast
On white
9.74
#7E155E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7E155E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E155E
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E155E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E155E | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#233960
Deuteranopia (green-blind)
#444A5C
Tritanopia (blue-blind)
#871438
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e155e; /* rgb */ color: rgb(126, 21, 94); /* oklch */ color: oklch(40.7% 0.156 343.9);
Tailwind
colors: {
custom: {
50: '#a7618b',
500: '#7e155e',
950: '#000000',
},
}SCSS
$custom: #7e155e; $custom-light: #a7618b; $custom-dark: #000000;
JSON
{
"hex": "#7e155e",
"rgb": {
"r": 126,
"g": 21,
"b": 94
},
"hsl": {
"h": 318.286,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.40744,
"c": 0.15607,
"h": 343.9
},
"luminance": 0.0578
}Semantic roles & 50–950 ramp
primary
#7E155E
secondary
#3CB360
accent
#EE713A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D