#7C1167#7C1167
#7C1167 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.164 H 338.1°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7C1167 |
|---|---|
| RGB | rgb(124, 17, 103) |
| HSL | hsl(312, 76%, 28%) |
| HSV | hsv(312, 86%, 49%) |
| CMYK | cmyk(0%, 86.3%, 16.9%, 51.4%) |
| CIE-LAB | lab(28.55, 51.33, -22.53) |
| CIE-LCH | lch(28.55, 56.06, 336.30°) |
| OKLab | oklab(40.6% 0.1524 -0.0613) |
| OKLCH | oklch(40.6% 0.164 338.1) |
| XYZ | xyz(10.9611, 5.6664, 13.3458) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.30
Darkish Purple
#751973
ΔE00 3.62
Velvet
#750851
ΔE00 4.75
Purple
#800080
ΔE00 5.33
Grape Purple
#5D1451
ΔE00 6.35
Darkmagenta
#8B008B
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C1167 #117C26
analogous
#5C117C #7C1167 #7C1131
triadic
#7C1167 #677C11 #11677C
tetradic
#7C1167 #7C5C11 #117C26 #11317C
square
#7C1167 #7C5C11 #117C26 #11317C
split-complementary
#7C1167 #317C11 #117C5C
monochromatic
#1B0416 #460A3A #7C1167 #B21894 #E126BD
Accessibility & contrast
On white
9.85
#7C1167 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7C1167 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C1167
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C1167 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C1167 | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#173969
Deuteranopia (green-blind)
#3E4965
Tritanopia (blue-blind)
#83193D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7c1167; /* rgb */ color: rgb(124, 17, 103); /* oklch */ color: oklch(40.6% 0.164 338.1);
Tailwind
colors: {
custom: {
50: '#a65f92',
500: '#7c1167',
950: '#000000',
},
}SCSS
$custom: #7c1167; $custom-light: #a65f92; $custom-dark: #000000;
JSON
{
"hex": "#7c1167",
"rgb": {
"r": 124,
"g": 17,
"b": 103
},
"hsl": {
"h": 311.776,
"s": 75.887,
"l": 27.647
},
"oklch": {
"l": 0.40602,
"c": 0.16421,
"h": 338.1
},
"luminance": 0.05665
}Semantic roles & 50–950 ramp
primary
#7C1167
secondary
#37B24F
accent
#F25A35
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E