#7F1146#7F1146
#7F1146 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.148 H 358.2°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1146 |
|---|---|
| RGB | rgb(127, 17, 70) |
| HSL | hsl(331, 76%, 28%) |
| HSV | hsv(331, 87%, 50%) |
| CMYK | cmyk(0%, 86.6%, 44.9%, 50.2%) |
| CIE-LAB | lab(27.73, 48.03, -1.95) |
| CIE-LCH | lch(27.73, 48.07, 357.67°) |
| OKLab | oklab(39.65% 0.1479 -0.0045) |
| OKLCH | oklch(39.65% 0.148 358.2) |
| XYZ | xyz(10.0591, 5.3565, 6.2974) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 0.91
Wine (survey)
#80013F
ΔE00 1.98
Merlot
#730039
ΔE00 3.35
Reddish Purple
#910951
ΔE00 3.58
Mulberry
#920A4E
ΔE00 3.62
Dark Magenta
#960056
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1146 #117F4A
analogous
#7F117D #7F1146 #7F1311
triadic
#7F1146 #467F11 #11467F
tetradic
#7F1146 #7D7F11 #117F4A #13117F
square
#7F1146 #7D7F11 #117F4A #13117F
split-complementary
#7F1146 #117F13 #117D7F
monochromatic
#1B040F #490A28 #7F1146 #B51864 #E22882
Accessibility & contrast
On white
10.14
#7F1146 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7F1146 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1146
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1146 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1146 | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3447
Deuteranopia (green-blind)
#4A4944
Tritanopia (blue-blind)
#8A002A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1146; /* rgb */ color: rgb(127, 17, 70); /* oklch */ color: oklch(39.6% 0.148 358.2);
Tailwind
colors: {
custom: {
50: '#a95e79',
500: '#7f1146',
950: '#000000',
},
}SCSS
$custom: #7f1146; $custom-light: #a95e79; $custom-dark: #000000;
JSON
{
"hex": "#7f1146",
"rgb": {
"r": 127,
"g": 17,
"b": 70
},
"hsl": {
"h": 331.091,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.39646,
"c": 0.14799,
"h": 358.2
},
"luminance": 0.05355
}Semantic roles & 50–950 ramp
primary
#7F1146
secondary
#37B578
accent
#F39735
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110509
muted
#80797B