#7B165F#7B165F
#7B165F is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.154 H 342.1°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7B165F |
|---|---|
| RGB | rgb(123, 22, 95) |
| HSL | hsl(317, 70%, 28%) |
| HSV | hsv(317, 82%, 48%) |
| CMYK | cmyk(0%, 82.1%, 22.8%, 51.8%) |
| CIE-LAB | lab(28.41, 48.64, -17.56) |
| CIE-LCH | lch(28.41, 51.72, 340.15°) |
| OKLab | oklab(40.33% 0.1464 -0.0472) |
| OKLCH | oklch(40.33% 0.154 342.1) |
| XYZ | xyz(10.5212, 5.6121, 11.3534) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 2.94
Velvet
#750851
ΔE00 3.07
Darkish Purple
#751973
ΔE00 5.50
Grape Purple
#5D1451
ΔE00 6.08
Grape
#6C3461
ΔE00 6.40
Red Violet
#9E0168
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B165F #167B32
analogous
#64167B #7B165F #7B162C
triadic
#7B165F #5F7B16 #165F7B
tetradic
#7B165F #7B6416 #167B32 #162C7B
square
#7B165F #7B6416 #167B32 #162C7B
split-complementary
#7B165F #2C7B16 #167B64
monochromatic
#1A0514 #470D37 #7B165F #AF1F87 #DA31AB
Accessibility & contrast
On white
9.90
#7B165F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7B165F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B165F
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B165F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B165F | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#213961
Deuteranopia (green-blind)
#41495D
Tritanopia (blue-blind)
#831739
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7b165f; /* rgb */ color: rgb(123, 22, 95); /* oklch */ color: oklch(40.3% 0.154 342.1);
Tailwind
colors: {
custom: {
50: '#a5608c',
500: '#7b165f',
950: '#000000',
},
}SCSS
$custom: #7b165f; $custom-light: #a5608c; $custom-dark: #000000;
JSON
{
"hex": "#7b165f",
"rgb": {
"r": 123,
"g": 22,
"b": 95
},
"hsl": {
"h": 316.634,
"s": 69.655,
"l": 28.431
},
"oklch": {
"l": 0.40333,
"c": 0.15384,
"h": 342.1
},
"luminance": 0.05611
}Semantic roles & 50–950 ramp
primary
#7B165F
secondary
#3DB05D
accent
#EC6C3B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D