#7F1F68#7F1F68
#7F1F68 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.153 H 339.4°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1F68 |
|---|---|
| RGB | rgb(127, 31, 104) |
| HSL | hsl(314, 61%, 31%) |
| HSV | hsv(314, 76%, 50%) |
| CMYK | cmyk(0%, 75.6%, 18.1%, 50.2%) |
| CIE-LAB | lab(30.62, 48.06, -19.91) |
| CIE-LCH | lch(30.62, 52.02, 337.50°) |
| OKLab | oklab(42.21% 0.1429 -0.0538) |
| OKLCH | oklch(42.21% 0.153 339.4) |
| XYZ | xyz(11.7414, 6.4926, 13.7289) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.64
Rich Purple
#720058
ΔE00 4.64
Velvet
#750851
ΔE00 5.09
Grape
#6C3461
ΔE00 5.90
Red Violet
#9E0168
ΔE00 6.35
Purple
#800080
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1F68 #1F7F36
analogous
#661F7F #7F1F68 #7F1F38
triadic
#7F1F68 #687F1F #1F687F
tetradic
#7F1F68 #7F661F #1F7F36 #1F387F
square
#7F1F68 #7F661F #1F7F36 #1F387F
split-complementary
#7F1F68 #387F1F #1F7F66
monochromatic
#1D0717 #4E1340 #7F1F68 #B02B90 #D246B1
Accessibility & contrast
On white
9.14
#7F1F68 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#7F1F68 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1F68
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1F68 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1F68 | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#253E6A
Deuteranopia (green-blind)
#444E66
Tritanopia (blue-blind)
#872341
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f1f68; /* rgb */ color: rgb(127, 31, 104); /* oklch */ color: oklch(42.2% 0.153 339.4);
Tailwind
colors: {
custom: {
50: '#a76593',
500: '#7f1f68',
950: '#000000',
},
}SCSS
$custom: #7f1f68; $custom-light: #a76593; $custom-dark: #000000;
JSON
{
"hex": "#7f1f68",
"rgb": {
"r": 127,
"g": 31,
"b": 104
},
"hsl": {
"h": 314.375,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.42214,
"c": 0.15272,
"h": 339.4
},
"luminance": 0.06491
}Semantic roles & 50–950 ramp
primary
#7F1F68
secondary
#48B261
accent
#E46A44
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E