#7C165D#7C165D
#7C165D is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.4% C 0.153 H 343.7°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7C165D |
|---|---|
| RGB | rgb(124, 22, 93) |
| HSL | hsl(318, 70%, 29%) |
| HSV | hsv(318, 82%, 49%) |
| CMYK | cmyk(0%, 82.3%, 25%, 51.4%) |
| CIE-LAB | lab(28.51, 48.62, -16.08) |
| CIE-LCH | lch(28.51, 51.21, 341.70°) |
| OKLab | oklab(40.41% 0.147 -0.043) |
| OKLCH | oklch(40.41% 0.153 343.7) |
| XYZ | xyz(10.5753, 5.6504, 10.8875) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.71
Rich Purple
#720058
ΔE00 3.20
Darkish Purple
#751973
ΔE00 6.17
Grape Purple
#5D1451
ΔE00 6.37
Red Violet
#9E0168
ΔE00 6.40
Grape
#6C3461
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C165D #167C35
analogous
#68167C #7C165D #7C162A
triadic
#7C165D #5D7C16 #165D7C
tetradic
#7C165D #7C6816 #167C35 #162A7C
square
#7C165D #7C6816 #167C35 #162A7C
split-complementary
#7C165D #2A7C16 #167C68
monochromatic
#1A0513 #480D36 #7C165D #B01F84 #DB32A7
Accessibility & contrast
On white
9.86
#7C165D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7C165D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C165D
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C165D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C165D | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23395F
Deuteranopia (green-blind)
#43495B
Tritanopia (blue-blind)
#851638
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7c165d; /* rgb */ color: rgb(124, 22, 93); /* oklch */ color: oklch(40.4% 0.153 343.7);
Tailwind
colors: {
custom: {
50: '#a6608b',
500: '#7c165d',
950: '#000000',
},
}SCSS
$custom: #7c165d; $custom-light: #a6608b; $custom-dark: #000000;
JSON
{
"hex": "#7c165d",
"rgb": {
"r": 124,
"g": 22,
"b": 93
},
"hsl": {
"h": 318.235,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.4041,
"c": 0.1532,
"h": 343.7
},
"luminance": 0.05649
}Semantic roles & 50–950 ramp
primary
#7C165D
secondary
#3DB160
accent
#ED713B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D