#7F1362#7F1362
#7F1362 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.161 H 342.0°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1362 |
|---|---|
| RGB | rgb(127, 19, 98) |
| HSL | hsl(316, 74%, 29%) |
| HSV | hsv(316, 85%, 50%) |
| CMYK | cmyk(0%, 85%, 22.8%, 50.2%) |
| CIE-LAB | lab(29.06, 50.84, -18.45) |
| CIE-LCH | lch(29.06, 54.09, 340.05°) |
| OKLab | oklab(40.99% 0.1532 -0.0496) |
| OKLCH | oklch(40.99% 0.161 342) |
| XYZ | xyz(11.1903, 5.8608, 12.0948) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.35
Velvet
#750851
ΔE00 3.63
Darkish Purple
#751973
ΔE00 5.33
Red Violet
#9E0168
ΔE00 6.09
Grape Purple
#5D1451
ΔE00 6.77
Grape
#6C3461
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1362 #137F30
analogous
#66137F #7F1362 #7F132C
triadic
#7F1362 #627F13 #13627F
tetradic
#7F1362 #7F6613 #137F30 #132C7F
square
#7F1362 #7F6613 #137F30 #132C7F
split-complementary
#7F1362 #2C7F13 #137F66
monochromatic
#1B0415 #4A0B39 #7F1362 #B41B8B #E02DB0
Accessibility & contrast
On white
9.67
#7F1362 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7F1362 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1362
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1362 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1362 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203964
Deuteranopia (green-blind)
#434B60
Tritanopia (blue-blind)
#87153A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1362; /* rgb */ color: rgb(127, 19, 98); /* oklch */ color: oklch(41.0% 0.161 342.0);
Tailwind
colors: {
custom: {
50: '#a8608f',
500: '#7f1362',
950: '#000000',
},
}SCSS
$custom: #7f1362; $custom-light: #a8608f; $custom-dark: #000000;
JSON
{
"hex": "#7f1362",
"rgb": {
"r": 127,
"g": 19,
"b": 98
},
"hsl": {
"h": 316.111,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.4099,
"c": 0.16099,
"h": 342
},
"luminance": 0.0586
}Semantic roles & 50–950 ramp
primary
#7F1362
secondary
#39B45A
accent
#F16937
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D