#7F1F5E#7F1F5E
#7F1F5E is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.146 H 345.1°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1F5E |
|---|---|
| RGB | rgb(127, 31, 94) |
| HSL | hsl(321, 61%, 31%) |
| HSV | hsv(321, 76%, 50%) |
| CMYK | cmyk(0%, 75.6%, 26%, 50.2%) |
| CIE-LAB | lab(30.16, 46.62, -14.15) |
| CIE-LCH | lch(30.16, 48.72, 343.11°) |
| OKLab | oklab(41.73% 0.1411 -0.0376) |
| OKLCH | oklch(41.73% 0.146 345.1) |
| XYZ | xyz(11.2632, 6.3014, 11.2106) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.70
Rich Purple
#720058
ΔE00 4.75
Red Violet
#9E0168
ΔE00 5.74
Dark Magenta
#960056
ΔE00 5.92
Grape
#6C3461
ΔE00 5.96
Reddish Purple
#910951
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1F5E #1F7F40
analogous
#701F7F #7F1F5E #7F1F2E
triadic
#7F1F5E #5E7F1F #1F5E7F
tetradic
#7F1F5E #7F701F #1F7F40 #1F2E7F
square
#7F1F5E #7F701F #1F7F40 #1F2E7F
split-complementary
#7F1F5E #2E7F1F #1F7F70
monochromatic
#1D0715 #4E133A #7F1F5E #B02B82 #D246A2
Accessibility & contrast
On white
9.29
#7F1F5E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#7F1F5E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1F5E
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1F5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1F5E | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3D60
Deuteranopia (green-blind)
#484D5C
Tritanopia (blue-blind)
#881E3C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7f1f5e; /* rgb */ color: rgb(127, 31, 94); /* oklch */ color: oklch(41.7% 0.146 345.1);
Tailwind
colors: {
custom: {
50: '#a8648b',
500: '#7f1f5e',
950: '#000000',
},
}SCSS
$custom: #7f1f5e; $custom-light: #a8648b; $custom-dark: #000000;
JSON
{
"hex": "#7f1f5e",
"rgb": {
"r": 127,
"g": 31,
"b": 94
},
"hsl": {
"h": 320.625,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.41727,
"c": 0.14604,
"h": 345.1
},
"luminance": 0.063
}Semantic roles & 50–950 ramp
primary
#7F1F5E
secondary
#48B26C
accent
#E47B44
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D