#7E155D#7E155D
#7E155D is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.155 H 344.5°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7E155D |
|---|---|
| RGB | rgb(126, 21, 93) |
| HSL | hsl(319, 71%, 29%) |
| HSV | hsv(319, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 26.2%, 50.6%) |
| CIE-LAB | lab(28.81, 49.40, -15.60) |
| CIE-LCH | lch(28.81, 51.81, 342.48°) |
| OKLab | oklab(40.7% 0.1498 -0.0416) |
| OKLCH | oklch(40.7% 0.155 344.5) |
| XYZ | xyz(10.8486, 5.7635, 10.8950) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.79
Rich Purple
#720058
ΔE00 3.48
Red Violet
#9E0168
ΔE00 6.00
Dark Magenta
#960056
ΔE00 6.21
Red Purple
#820747
ΔE00 6.27
Reddish Purple
#910951
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E155D #157E36
analogous
#6B157E #7E155D #7E1529
triadic
#7E155D #5D7E15 #155D7E
tetradic
#7E155D #7E6B15 #157E36 #15297E
square
#7E155D #7E6B15 #157E36 #15297E
split-complementary
#7E155D #297E15 #157E6B
monochromatic
#1A0413 #4A0C36 #7E155D #B21E84 #DD31A7
Accessibility & contrast
On white
9.76
#7E155D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7E155D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E155D
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E155D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E155D | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24395F
Deuteranopia (green-blind)
#444A5B
Tritanopia (blue-blind)
#871438
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e155d; /* rgb */ color: rgb(126, 21, 93); /* oklch */ color: oklch(40.7% 0.155 344.5);
Tailwind
colors: {
custom: {
50: '#a7608b',
500: '#7e155d',
950: '#000000',
},
}SCSS
$custom: #7e155d; $custom-light: #a7608b; $custom-dark: #000000;
JSON
{
"hex": "#7e155d",
"rgb": {
"r": 126,
"g": 21,
"b": 93
},
"hsl": {
"h": 318.857,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.40696,
"c": 0.15546,
"h": 344.5
},
"luminance": 0.05762
}Semantic roles & 50–950 ramp
primary
#7E155D
secondary
#3CB361
accent
#EE723A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D