#7F1F6D#7F1F6D
#7F1F6D is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.156 H 336.7°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1F6D |
|---|---|
| RGB | rgb(127, 31, 109) |
| HSL | hsl(311, 61%, 31%) |
| HSV | hsv(311, 76%, 50%) |
| CMYK | cmyk(0%, 75.6%, 14.2%, 50.2%) |
| CIE-LAB | lab(30.87, 48.82, -22.72) |
| CIE-LCH | lch(30.87, 53.85, 335.04°) |
| OKLab | oklab(42.48% 0.1436 -0.0619) |
| OKLCH | oklch(42.48% 0.156 336.7) |
| XYZ | xyz(12.0029, 6.5972, 15.1063) |
| Luminance | 0.0660 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.62
Rich Purple
#720058
ΔE00 5.10
Purple
#800080
ΔE00 5.34
Velvet
#750851
ΔE00 6.04
Darkmagenta
#8B008B
ΔE00 6.26
Grape
#6C3461
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1F6D #1F7F31
analogous
#611F7F #7F1F6D #7F1F3D
triadic
#7F1F6D #6D7F1F #1F6D7F
tetradic
#7F1F6D #7F611F #1F7F31 #1F3D7F
square
#7F1F6D #7F611F #1F7F31 #1F3D7F
split-complementary
#7F1F6D #3D7F1F #1F7F61
monochromatic
#1D0719 #4E1343 #7F1F6D #B02B97 #D246B8
Accessibility & contrast
On white
9.05
#7F1F6D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#7F1F6D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1F6D
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1F6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1F6D | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#213F6F
Deuteranopia (green-blind)
#424E6B
Tritanopia (blue-blind)
#862543
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7f1f6d; /* rgb */ color: rgb(127, 31, 109); /* oklch */ color: oklch(42.5% 0.156 336.7);
Tailwind
colors: {
custom: {
50: '#a76597',
500: '#7f1f6d',
950: '#000000',
},
}SCSS
$custom: #7f1f6d; $custom-light: #a76597; $custom-dark: #000000;
JSON
{
"hex": "#7f1f6d",
"rgb": {
"r": 127,
"g": 31,
"b": 109
},
"hsl": {
"h": 311.25,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.42475,
"c": 0.15633,
"h": 336.7
},
"luminance": 0.06596
}Semantic roles & 50–950 ramp
primary
#7F1F6D
secondary
#48B25C
accent
#E46244
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E