#7F1351#7F1351
#7F1351 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.151 H 351.7°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1351 |
|---|---|
| RGB | rgb(127, 19, 81) |
| HSL | hsl(326, 74%, 29%) |
| HSV | hsv(326, 85%, 50%) |
| CMYK | cmyk(0%, 85%, 36.2%, 50.2%) |
| CIE-LAB | lab(28.31, 48.71, -8.43) |
| CIE-LCH | lch(28.31, 49.43, 350.18°) |
| OKLab | oklab(40.2% 0.1496 -0.0218) |
| OKLCH | oklch(40.2% 0.151 351.7) |
| XYZ | xyz(10.4711, 5.5732, 8.3073) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.02
Velvet
#750851
ΔE00 3.07
Reddish Purple
#910951
ΔE00 3.98
Dark Magenta
#960056
ΔE00 4.41
Mulberry
#920A4E
ΔE00 4.77
Wine (survey)
#80013F
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1351 #137F41
analogous
#77137F #7F1351 #7F131B
triadic
#7F1351 #517F13 #13517F
tetradic
#7F1351 #7F7713 #137F41 #131B7F
square
#7F1351 #7F7713 #137F41 #131B7F
split-complementary
#7F1351 #1B7F13 #137F77
monochromatic
#1B0411 #4A0B2F #7F1351 #B41B73 #E02D93
Accessibility & contrast
On white
9.93
#7F1351 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7F1351 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1351
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1351 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1351 | 1.00 | 9.93 | 2.11 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#293752
Deuteranopia (green-blind)
#484A4F
Tritanopia (blue-blind)
#890531
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1351; /* rgb */ color: rgb(127, 19, 81); /* oklch */ color: oklch(40.2% 0.151 351.7);
Tailwind
colors: {
custom: {
50: '#a96081',
500: '#7f1351',
950: '#000000',
},
}SCSS
$custom: #7f1351; $custom-light: #a96081; $custom-dark: #000000;
JSON
{
"hex": "#7f1351",
"rgb": {
"r": 127,
"g": 19,
"b": 81
},
"hsl": {
"h": 325.556,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.40203,
"c": 0.15122,
"h": 351.7
},
"luminance": 0.05572
}Semantic roles & 50–950 ramp
primary
#7F1351
secondary
#39B46E
accent
#F18637
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C