#7F1F58#7F1F58
#7F1F58 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.142 H 348.7°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1F58 |
|---|---|
| RGB | rgb(127, 31, 88) |
| HSL | hsl(324, 61%, 31%) |
| HSV | hsv(324, 76%, 50%) |
| CMYK | cmyk(0%, 75.6%, 30.7%, 50.2%) |
| CIE-LAB | lab(29.91, 45.82, -10.63) |
| CIE-LCH | lch(29.91, 47.04, 346.94°) |
| OKLab | oklab(41.46% 0.1397 -0.0279) |
| OKLCH | oklch(41.46% 0.142 348.7) |
| XYZ | xyz(11.0044, 6.1978, 9.8474) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.63
Red Purple
#820747
ΔE00 4.72
Reddish Purple
#910951
ΔE00 4.86
Dark Magenta
#960056
ΔE00 5.02
Rich Purple
#720058
ΔE00 5.53
Mulberry
#920A4E
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1F58 #1F7F46
analogous
#761F7F #7F1F58 #7F1F28
triadic
#7F1F58 #587F1F #1F587F
tetradic
#7F1F58 #7F761F #1F7F46 #1F287F
square
#7F1F58 #7F761F #1F7F46 #1F287F
split-complementary
#7F1F58 #287F1F #1F7F76
monochromatic
#1D0714 #4E1336 #7F1F58 #B02B7A #D24699
Accessibility & contrast
On white
9.38
#7F1F58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7F1F58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1F58
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1F58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1F58 | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3C5A
Deuteranopia (green-blind)
#494D56
Tritanopia (blue-blind)
#881A38
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f1f58; /* rgb */ color: rgb(127, 31, 88); /* oklch */ color: oklch(41.5% 0.142 348.7);
Tailwind
colors: {
custom: {
50: '#a86487',
500: '#7f1f58',
950: '#000000',
},
}SCSS
$custom: #7f1f58; $custom-light: #a86487; $custom-dark: #000000;
JSON
{
"hex": "#7f1f58",
"rgb": {
"r": 127,
"g": 31,
"b": 88
},
"hsl": {
"h": 324.375,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.41458,
"c": 0.14245,
"h": 348.7
},
"luminance": 0.06197
}Semantic roles & 50–950 ramp
primary
#7F1F58
secondary
#48B273
accent
#E48544
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C