#7F1266#7F1266
#7F1266 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.164 H 339.9°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1266 |
|---|---|
| RGB | rgb(127, 18, 102) |
| HSL | hsl(314, 75%, 28%) |
| HSV | hsv(314, 86%, 50%) |
| CMYK | cmyk(0%, 85.8%, 19.7%, 50.2%) |
| CIE-LAB | lab(29.17, 51.64, -20.87) |
| CIE-LCH | lch(29.17, 55.70, 337.99°) |
| OKLab | oklab(41.14% 0.1544 -0.0565) |
| OKLCH | oklch(41.14% 0.164 339.9) |
| XYZ | xyz(11.3673, 5.9051, 13.1090) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.51
Darkish Purple
#751973
ΔE00 4.40
Velvet
#750851
ΔE00 4.43
Purple
#800080
ΔE00 5.93
Red Violet
#9E0168
ΔE00 6.47
Grape Purple
#5D1451
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1266 #127F2B
analogous
#61127F #7F1266 #7F1230
triadic
#7F1266 #667F12 #12667F
tetradic
#7F1266 #7F6112 #127F2B #12307F
square
#7F1266 #7F6112 #127F2B #12307F
split-complementary
#7F1266 #307F12 #127F61
monochromatic
#1B0416 #490A3B #7F1266 #B51A91 #E12BB7
Accessibility & contrast
On white
9.63
#7F1266 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7F1266 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1266
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1266 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1266 | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C3A68
Deuteranopia (green-blind)
#414B64
Tritanopia (blue-blind)
#87173C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f1266; /* rgb */ color: rgb(127, 18, 102); /* oklch */ color: oklch(41.1% 0.164 339.9);
Tailwind
colors: {
custom: {
50: '#a86092',
500: '#7f1266',
950: '#000000',
},
}SCSS
$custom: #7f1266; $custom-light: #a86092; $custom-dark: #000000;
JSON
{
"hex": "#7f1266",
"rgb": {
"r": 127,
"g": 18,
"b": 102
},
"hsl": {
"h": 313.761,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.41135,
"c": 0.16442,
"h": 339.9
},
"luminance": 0.05904
}Semantic roles & 50–950 ramp
primary
#7F1266
secondary
#38B555
accent
#F26136
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050D
muted
#7F7A7D