#7F1F50#7F1F50
#7F1F50 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.138 H 353.8°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1F50 |
|---|---|
| RGB | rgb(127, 31, 80) |
| HSL | hsl(329, 61%, 31%) |
| HSV | hsv(329, 76%, 50%) |
| CMYK | cmyk(0%, 75.6%, 37%, 50.2%) |
| CIE-LAB | lab(29.59, 44.83, -5.84) |
| CIE-LCH | lch(29.59, 45.21, 352.58°) |
| OKLab | oklab(41.13% 0.1374 -0.0149) |
| OKLCH | oklch(41.13% 0.138 353.8) |
| XYZ | xyz(10.6910, 6.0725, 8.1970) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.98
Reddish Purple
#910951
ΔE00 3.75
Mulberry
#920A4E
ΔE00 4.26
Dark Magenta
#960056
ΔE00 4.51
Wine (survey)
#80013F
ΔE00 4.67
Velvet
#750851
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1F50 #1F7F4E
analogous
#7E1F7F #7F1F50 #7F1F20
triadic
#7F1F50 #507F1F #1F507F
tetradic
#7F1F50 #7F7E1F #1F7F4E #1F207F
square
#7F1F50 #7F7E1F #1F7F4E #1F207F
split-complementary
#7F1F50 #207F1F #1F7F7E
monochromatic
#1D0712 #4E1331 #7F1F50 #B02B6F #D2468E
Accessibility & contrast
On white
9.48
#7F1F50 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7F1F50 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1F50
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1F50 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1F50 | 1.00 | 9.48 | 2.21 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313B51
Deuteranopia (green-blind)
#4C4C4E
Tritanopia (blue-blind)
#891634
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f1f50; /* rgb */ color: rgb(127, 31, 80); /* oklch */ color: oklch(41.1% 0.138 353.8);
Tailwind
colors: {
custom: {
50: '#a86481',
500: '#7f1f50',
950: '#000000',
},
}SCSS
$custom: #7f1f50; $custom-light: #a86481; $custom-dark: #000000;
JSON
{
"hex": "#7f1f50",
"rgb": {
"r": 127,
"g": 31,
"b": 80
},
"hsl": {
"h": 329.375,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.41128,
"c": 0.13824,
"h": 353.8
},
"luminance": 0.06071
}Semantic roles & 50–950 ramp
primary
#7F1F50
secondary
#48B27C
accent
#E49244
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C