#7F1366#7F1366
#7F1366 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.2% C 0.164 H 339.9°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1366 |
|---|---|
| RGB | rgb(127, 19, 102) |
| HSL | hsl(314, 74%, 29%) |
| HSV | hsv(314, 85%, 50%) |
| CMYK | cmyk(0%, 85%, 19.7%, 50.2%) |
| CIE-LAB | lab(29.26, 51.39, -20.74) |
| CIE-LCH | lch(29.26, 55.42, 338.02°) |
| OKLab | oklab(41.2% 0.1537 -0.0561) |
| OKLCH | oklch(41.2% 0.164 339.9) |
| XYZ | xyz(11.3839, 5.9383, 13.1145) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.56
Darkish Purple
#751973
ΔE00 4.42
Velvet
#750851
ΔE00 4.43
Purple
#800080
ΔE00 5.98
Red Violet
#9E0168
ΔE00 6.44
Grape Purple
#5D1451
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1366 #137F2C
analogous
#62137F #7F1366 #7F1330
triadic
#7F1366 #667F13 #13667F
tetradic
#7F1366 #7F6213 #137F2C #13307F
square
#7F1366 #7F6213 #137F2C #13307F
split-complementary
#7F1366 #307F13 #137F62
monochromatic
#1B0415 #4A0B3B #7F1366 #B41B91 #E02DB6
Accessibility & contrast
On white
9.60
#7F1366 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7F1366 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1366
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1366 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1366 | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D3A68
Deuteranopia (green-blind)
#414B64
Tritanopia (blue-blind)
#87183C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f1366; /* rgb */ color: rgb(127, 19, 102); /* oklch */ color: oklch(41.2% 0.164 339.9);
Tailwind
colors: {
custom: {
50: '#a86092',
500: '#7f1366',
950: '#000000',
},
}SCSS
$custom: #7f1366; $custom-light: #a86092; $custom-dark: #000000;
JSON
{
"hex": "#7f1366",
"rgb": {
"r": 127,
"g": 19,
"b": 102
},
"hsl": {
"h": 313.889,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.41196,
"c": 0.1636,
"h": 339.9
},
"luminance": 0.05937
}Semantic roles & 50–950 ramp
primary
#7F1366
secondary
#39B456
accent
#F16237
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050D
muted
#7F7A7D