#7F1163#7F1163
#7F1163 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.9% C 0.163 H 341.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1163 |
|---|---|
| RGB | rgb(127, 17, 99) |
| HSL | hsl(315, 76%, 28%) |
| HSV | hsv(315, 87%, 50%) |
| CMYK | cmyk(0%, 86.6%, 22%, 50.2%) |
| CIE-LAB | lab(28.94, 51.46, -19.29) |
| CIE-LCH | lch(28.94, 54.95, 339.45°) |
| OKLab | oklab(40.92% 0.1548 -0.052) |
| OKLCH | oklch(40.92% 0.163 341.4) |
| XYZ | xyz(11.2054, 5.8150, 12.3343) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.26
Velvet
#750851
ΔE00 3.81
Darkish Purple
#751973
ΔE00 5.04
Red Violet
#9E0168
ΔE00 6.23
Purple
#800080
ΔE00 6.60
Grape Purple
#5D1451
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1163 #117F2D
analogous
#64117F #7F1163 #7F112C
triadic
#7F1163 #637F11 #11637F
tetradic
#7F1163 #7F6411 #117F2D #112C7F
square
#7F1163 #7F6411 #117F2D #112C7F
split-complementary
#7F1163 #2C7F11 #117F64
monochromatic
#1B0415 #490A39 #7F1163 #B5188D #E228B3
Accessibility & contrast
On white
9.71
#7F1163 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7F1163 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1163
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1163 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1163 | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E3965
Deuteranopia (green-blind)
#424A61
Tritanopia (blue-blind)
#87143A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1163; /* rgb */ color: rgb(127, 17, 99); /* oklch */ color: oklch(40.9% 0.163 341.4);
Tailwind
colors: {
custom: {
50: '#a8608f',
500: '#7f1163',
950: '#000000',
},
}SCSS
$custom: #7f1163; $custom-light: #a8608f; $custom-dark: #000000;
JSON
{
"hex": "#7f1163",
"rgb": {
"r": 127,
"g": 17,
"b": 99
},
"hsl": {
"h": 315.273,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.40921,
"c": 0.16327,
"h": 341.4
},
"luminance": 0.05814
}Semantic roles & 50–950 ramp
primary
#7F1163
secondary
#37B557
accent
#F36535
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D