#7E165D#7E165D
#7E165D is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.155 H 344.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7E165D |
|---|---|
| RGB | rgb(126, 22, 93) |
| HSL | hsl(319, 70%, 29%) |
| HSV | hsv(319, 83%, 49%) |
| CMYK | cmyk(0%, 82.5%, 26.2%, 50.6%) |
| CIE-LAB | lab(28.90, 49.12, -15.45) |
| CIE-LCH | lch(28.90, 51.50, 342.55°) |
| OKLab | oklab(40.77% 0.1489 -0.0412) |
| OKLCH | oklch(40.77% 0.155 344.5) |
| XYZ | xyz(10.8674, 5.8010, 10.9012) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.83
Rich Purple
#720058
ΔE00 3.58
Red Violet
#9E0168
ΔE00 5.98
Dark Magenta
#960056
ΔE00 6.18
Red Purple
#820747
ΔE00 6.24
Reddish Purple
#910951
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E165D #167E37
analogous
#6B167E #7E165D #7E1629
triadic
#7E165D #5D7E16 #165D7E
tetradic
#7E165D #7E6B16 #167E37 #16297E
square
#7E165D #7E6B16 #167E37 #16297E
split-complementary
#7E165D #297E16 #167E6B
monochromatic
#1A0513 #4A0D37 #7E165D #B21F83 #DB33A6
Accessibility & contrast
On white
9.72
#7E165D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7E165D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E165D
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E165D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E165D | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24395F
Deuteranopia (green-blind)
#444A5B
Tritanopia (blue-blind)
#871538
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e165d; /* rgb */ color: rgb(126, 22, 93); /* oklch */ color: oklch(40.8% 0.155 344.5);
Tailwind
colors: {
custom: {
50: '#a7618b',
500: '#7e165d',
950: '#000000',
},
}SCSS
$custom: #7e165d; $custom-light: #a7618b; $custom-dark: #000000;
JSON
{
"hex": "#7e165d",
"rgb": {
"r": 126,
"g": 22,
"b": 93
},
"hsl": {
"h": 319.038,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.40766,
"c": 0.15451,
"h": 344.5
},
"luminance": 0.058
}Semantic roles & 50–950 ramp
primary
#7E165D
secondary
#3DB362
accent
#ED733B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D