#7F1267#7F1267
#7F1267 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.2% C 0.165 H 339.4°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1267 |
|---|---|
| RGB | rgb(127, 18, 103) |
| HSL | hsl(313, 75%, 28%) |
| HSV | hsv(313, 86%, 50%) |
| CMYK | cmyk(0%, 85.8%, 18.9%, 50.2%) |
| CIE-LAB | lab(29.22, 51.78, -21.44) |
| CIE-LCH | lch(29.22, 56.04, 337.51°) |
| OKLab | oklab(41.19% 0.1545 -0.0581) |
| OKLCH | oklch(41.19% 0.165 339.4) |
| XYZ | xyz(11.4172, 5.9251, 13.3717) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.61
Darkish Purple
#751973
ΔE00 4.18
Velvet
#750851
ΔE00 4.63
Purple
#800080
ΔE00 5.70
Red Violet
#9E0168
ΔE00 6.58
Grape Purple
#5D1451
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1267 #127F2A
analogous
#60127F #7F1267 #7F1230
triadic
#7F1267 #677F12 #12677F
tetradic
#7F1267 #7F6012 #127F2A #12307F
square
#7F1267 #7F6012 #127F2A #12307F
split-complementary
#7F1267 #307F12 #127F60
monochromatic
#1B0416 #490A3C #7F1267 #B51A92 #E12BB9
Accessibility & contrast
On white
9.61
#7F1267 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7F1267 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1267
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1267 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1267 | 1.00 | 9.61 | 2.18 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B3A69
Deuteranopia (green-blind)
#414B65
Tritanopia (blue-blind)
#87183D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f1267; /* rgb */ color: rgb(127, 18, 103); /* oklch */ color: oklch(41.2% 0.165 339.4);
Tailwind
colors: {
custom: {
50: '#a86092',
500: '#7f1267',
950: '#000000',
},
}SCSS
$custom: #7f1267; $custom-light: #a86092; $custom-dark: #000000;
JSON
{
"hex": "#7f1267",
"rgb": {
"r": 127,
"g": 18,
"b": 103
},
"hsl": {
"h": 313.211,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.41188,
"c": 0.16509,
"h": 339.4
},
"luminance": 0.05924
}Semantic roles & 50–950 ramp
primary
#7F1267
secondary
#38B554
accent
#F25F36
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E