#7F1966#7F1966
#7F1966 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.158 H 340.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1966 |
|---|---|
| RGB | rgb(127, 25, 102) |
| HSL | hsl(315, 67%, 30%) |
| HSV | hsv(315, 80%, 50%) |
| CMYK | cmyk(0%, 80.3%, 19.7%, 50.2%) |
| CIE-LAB | lab(29.83, 49.74, -19.85) |
| CIE-LCH | lch(29.83, 53.55, 338.25°) |
| OKLab | oklab(41.61% 0.1486 -0.0536) |
| OKLCH | oklch(41.61% 0.158 340.2) |
| XYZ | xyz(11.4986, 6.1678, 13.1527) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.96
Velvet
#750851
ΔE00 4.51
Darkish Purple
#751973
ΔE00 4.67
Red Violet
#9E0168
ΔE00 6.27
Purple
#800080
ΔE00 6.36
Grape
#6C3461
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1966 #197F32
analogous
#65197F #7F1966 #7F1933
triadic
#7F1966 #667F19 #19667F
tetradic
#7F1966 #7F6519 #197F32 #19337F
square
#7F1966 #7F6519 #197F32 #19337F
split-complementary
#7F1966 #337F19 #197F65
monochromatic
#1A0515 #4C0F3D #7F1966 #B2238F #D83AB1
Accessibility & contrast
On white
9.40
#7F1966 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#7F1966 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1966
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1966 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1966 | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#213C68
Deuteranopia (green-blind)
#434C64
Tritanopia (blue-blind)
#871D3E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f1966; /* rgb */ color: rgb(127, 25, 102); /* oklch */ color: oklch(41.6% 0.158 340.2);
Tailwind
colors: {
custom: {
50: '#a86292',
500: '#7f1966',
950: '#000000',
},
}SCSS
$custom: #7f1966; $custom-light: #a86292; $custom-dark: #000000;
JSON
{
"hex": "#7f1966",
"rgb": {
"r": 127,
"g": 25,
"b": 102
},
"hsl": {
"h": 314.706,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.4161,
"c": 0.158,
"h": 340.2
},
"luminance": 0.06167
}Semantic roles & 50–950 ramp
primary
#7F1966
secondary
#41B35D
accent
#EA683E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D