#7B165E#7B165E
#7B165E is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.153 H 342.7°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7B165E |
|---|---|
| RGB | rgb(123, 22, 94) |
| HSL | hsl(317, 70%, 28%) |
| HSV | hsv(317, 82%, 48%) |
| CMYK | cmyk(0%, 82.1%, 23.6%, 51.8%) |
| CIE-LAB | lab(28.36, 48.50, -16.98) |
| CIE-LCH | lch(28.36, 51.39, 340.70°) |
| OKLab | oklab(40.28% 0.1463 -0.0456) |
| OKLCH | oklch(40.28% 0.153 342.7) |
| XYZ | xyz(10.4761, 5.5941, 11.1156) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.87
Rich Purple
#720058
ΔE00 2.96
Darkish Purple
#751973
ΔE00 5.75
Grape Purple
#5D1451
ΔE00 6.11
Grape
#6C3461
ΔE00 6.41
Red Violet
#9E0168
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B165E #167B33
analogous
#65167B #7B165E #7B162B
triadic
#7B165E #5E7B16 #165E7B
tetradic
#7B165E #7B6516 #167B33 #162B7B
square
#7B165E #7B6516 #167B33 #162B7B
split-complementary
#7B165E #2B7B16 #167B65
monochromatic
#1A0514 #470D36 #7B165E #AF1F86 #DA31AA
Accessibility & contrast
On white
9.91
#7B165E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7B165E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B165E
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B165E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B165E | 1.00 | 9.91 | 2.12 | 9.91 |
| #FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#223860
Deuteranopia (green-blind)
#42495C
Tritanopia (blue-blind)
#831739
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7b165e; /* rgb */ color: rgb(123, 22, 94); /* oklch */ color: oklch(40.3% 0.153 342.7);
Tailwind
colors: {
custom: {
50: '#a5608b',
500: '#7b165e',
950: '#000000',
},
}SCSS
$custom: #7b165e; $custom-light: #a5608b; $custom-dark: #000000;
JSON
{
"hex": "#7b165e",
"rgb": {
"r": 123,
"g": 22,
"b": 94
},
"hsl": {
"h": 317.228,
"s": 69.655,
"l": 28.431
},
"oklch": {
"l": 0.40283,
"c": 0.15319,
"h": 342.7
},
"luminance": 0.05593
}Semantic roles & 50–950 ramp
primary
#7B165E
secondary
#3DB05E
accent
#EC6E3B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D