#7F1451#7F1451
#7F1451 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.150 H 351.8°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1451 |
|---|---|
| RGB | rgb(127, 20, 81) |
| HSL | hsl(326, 73%, 29%) |
| HSV | hsv(326, 84%, 50%) |
| CMYK | cmyk(0%, 84.3%, 36.2%, 50.2%) |
| CIE-LAB | lab(28.40, 48.44, -8.29) |
| CIE-LCH | lch(28.40, 49.15, 350.29°) |
| OKLab | oklab(40.27% 0.1488 -0.0214) |
| OKLCH | oklch(40.27% 0.15 351.8) |
| XYZ | xyz(10.4884, 5.6077, 8.3131) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.00
Velvet
#750851
ΔE00 3.16
Reddish Purple
#910951
ΔE00 3.95
Dark Magenta
#960056
ΔE00 4.40
Mulberry
#920A4E
ΔE00 4.72
Wine (survey)
#80013F
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1451 #147F42
analogous
#78147F #7F1451 #7F141C
triadic
#7F1451 #517F14 #14517F
tetradic
#7F1451 #7F7814 #147F42 #141C7F
square
#7F1451 #7F7814 #147F42 #141C7F
split-complementary
#7F1451 #1C7F14 #147F78
monochromatic
#1A0411 #4A0C2F #7F1451 #B41C73 #DE2F93
Accessibility & contrast
On white
9.90
#7F1451 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7F1451 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1451
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1451 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1451 | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3752
Deuteranopia (green-blind)
#484A4F
Tritanopia (blue-blind)
#890731
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1451; /* rgb */ color: rgb(127, 20, 81); /* oklch */ color: oklch(40.3% 0.150 351.8);
Tailwind
colors: {
custom: {
50: '#a96081',
500: '#7f1451',
950: '#000000',
},
}SCSS
$custom: #7f1451; $custom-light: #a96081; $custom-dark: #000000;
JSON
{
"hex": "#7f1451",
"rgb": {
"r": 127,
"g": 20,
"b": 81
},
"hsl": {
"h": 325.794,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.40269,
"c": 0.15035,
"h": 351.8
},
"luminance": 0.05606
}Semantic roles & 50–950 ramp
primary
#7F1451
secondary
#3BB46F
accent
#EF8738
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C