#7F1968#7F1968
#7F1968 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.7% C 0.159 H 339.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1968 |
|---|---|
| RGB | rgb(127, 25, 104) |
| HSL | hsl(314, 67%, 30%) |
| HSV | hsv(314, 80%, 50%) |
| CMYK | cmyk(0%, 80.3%, 18.1%, 50.2%) |
| CIE-LAB | lab(29.93, 50.03, -20.98) |
| CIE-LCH | lch(29.93, 54.25, 337.25°) |
| OKLab | oklab(41.71% 0.1489 -0.0568) |
| OKLCH | oklch(41.71% 0.159 339.1) |
| XYZ | xyz(11.5990, 6.2079, 13.6814) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 4.11
Darkish Purple
#751973
ΔE00 4.22
Velvet
#750851
ΔE00 4.90
Purple
#800080
ΔE00 5.90
Red Violet
#9E0168
ΔE00 6.47
Grape
#6C3461
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1968 #197F30
analogous
#63197F #7F1968 #7F1935
triadic
#7F1968 #687F19 #19687F
tetradic
#7F1968 #7F6319 #197F30 #19357F
square
#7F1968 #7F6319 #197F30 #19357F
split-complementary
#7F1968 #357F19 #197F63
monochromatic
#1A0515 #4C0F3E #7F1968 #B22392 #D83AB5
Accessibility & contrast
On white
9.37
#7F1968 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7F1968 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1968
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1968 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1968 | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203C6A
Deuteranopia (green-blind)
#424C66
Tritanopia (blue-blind)
#871E3F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f1968; /* rgb */ color: rgb(127, 25, 104); /* oklch */ color: oklch(41.7% 0.159 339.1);
Tailwind
colors: {
custom: {
50: '#a86293',
500: '#7f1968',
950: '#000000',
},
}SCSS
$custom: #7f1968; $custom-light: #a86293; $custom-dark: #000000;
JSON
{
"hex": "#7f1968",
"rgb": {
"r": 127,
"g": 25,
"b": 104
},
"hsl": {
"h": 313.529,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.41714,
"c": 0.15936,
"h": 339.1
},
"luminance": 0.06207
}Semantic roles & 50–950 ramp
primary
#7F1968
secondary
#41B35A
accent
#EA653E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E