#7E175D#7E175D
#7E175D is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.154 H 344.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7E175D |
|---|---|
| RGB | rgb(126, 23, 93) |
| HSL | hsl(319, 69%, 29%) |
| HSV | hsv(319, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 26.2%, 50.6%) |
| CIE-LAB | lab(29.00, 48.84, -15.29) |
| CIE-LCH | lch(29.00, 51.17, 342.61°) |
| OKLab | oklab(40.84% 0.148 -0.0408) |
| OKLCH | oklch(40.84% 0.154 344.6) |
| XYZ | xyz(10.8868, 5.8399, 10.9077) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.88
Rich Purple
#720058
ΔE00 3.68
Red Violet
#9E0168
ΔE00 5.97
Dark Magenta
#960056
ΔE00 6.15
Red Purple
#820747
ΔE00 6.22
Reddish Purple
#910951
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E175D #177E38
analogous
#6C177E #7E175D #7E172A
triadic
#7E175D #5D7E17 #175D7E
tetradic
#7E175D #7E6C17 #177E38 #172A7E
square
#7E175D #7E6C17 #177E38 #172A7E
split-complementary
#7E175D #2A7E17 #177E6C
monochromatic
#1A0513 #4A0E37 #7E175D #B22083 #DA35A5
Accessibility & contrast
On white
9.69
#7E175D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7E175D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E175D
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E175D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E175D | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25395F
Deuteranopia (green-blind)
#454A5B
Tritanopia (blue-blind)
#871638
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e175d; /* rgb */ color: rgb(126, 23, 93); /* oklch */ color: oklch(40.8% 0.154 344.6);
Tailwind
colors: {
custom: {
50: '#a7618b',
500: '#7e175d',
950: '#000000',
},
}SCSS
$custom: #7e175d; $custom-light: #a7618b; $custom-dark: #000000;
JSON
{
"hex": "#7e175d",
"rgb": {
"r": 126,
"g": 23,
"b": 93
},
"hsl": {
"h": 319.223,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.40838,
"c": 0.15354,
"h": 344.6
},
"luminance": 0.05839
}Semantic roles & 50–950 ramp
primary
#7E175D
secondary
#3EB363
accent
#EC743C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D