#7E175E#7E175E
#7E175E is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.154 H 344.0°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7E175E |
|---|---|
| RGB | rgb(126, 23, 94) |
| HSL | hsl(319, 69%, 29%) |
| HSV | hsv(319, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 25.4%, 50.6%) |
| CIE-LAB | lab(29.05, 48.97, -15.87) |
| CIE-LCH | lch(29.05, 51.48, 342.04°) |
| OKLab | oklab(40.89% 0.1482 -0.0424) |
| OKLCH | oklch(40.89% 0.154 344) |
| XYZ | xyz(10.9314, 5.8578, 11.1425) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.02
Rich Purple
#720058
ΔE00 3.60
Red Violet
#9E0168
ΔE00 5.99
Darkish Purple
#751973
ΔE00 6.29
Dark Magenta
#960056
ΔE00 6.32
Red Purple
#820747
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E175E #177E37
analogous
#6B177E #7E175E #7E172A
triadic
#7E175E #5E7E17 #175E7E
tetradic
#7E175E #7E6B17 #177E37 #172A7E
square
#7E175E #7E6B17 #177E37 #172A7E
split-complementary
#7E175E #2A7E17 #177E6B
monochromatic
#1A0513 #4A0E37 #7E175E #B22085 #DA35A7
Accessibility & contrast
On white
9.67
#7E175E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7E175E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E175E
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E175E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E175E | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#243A60
Deuteranopia (green-blind)
#444B5C
Tritanopia (blue-blind)
#871639
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e175e; /* rgb */ color: rgb(126, 23, 94); /* oklch */ color: oklch(40.9% 0.154 344.0);
Tailwind
colors: {
custom: {
50: '#a7618b',
500: '#7e175e',
950: '#000000',
},
}SCSS
$custom: #7e175e; $custom-light: #a7618b; $custom-dark: #000000;
JSON
{
"hex": "#7e175e",
"rgb": {
"r": 126,
"g": 23,
"b": 94
},
"hsl": {
"h": 318.641,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.40886,
"c": 0.15417,
"h": 344
},
"luminance": 0.05857
}Semantic roles & 50–950 ramp
primary
#7E175E
secondary
#3EB362
accent
#EC733C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D