#7F1147#7F1147
#7F1147 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.148 H 357.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1147 |
|---|---|
| RGB | rgb(127, 17, 71) |
| HSL | hsl(331, 76%, 28%) |
| HSV | hsv(331, 87%, 50%) |
| CMYK | cmyk(0%, 86.6%, 44.1%, 50.2%) |
| CIE-LAB | lab(27.76, 48.13, -2.57) |
| CIE-LCH | lch(27.76, 48.20, 356.94°) |
| OKLab | oklab(39.68% 0.1483 -0.0062) |
| OKLCH | oklch(39.68% 0.148 357.6) |
| XYZ | xyz(10.0910, 5.3692, 6.4650) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 0.85
Wine (survey)
#80013F
ΔE00 2.24
Reddish Purple
#910951
ΔE00 3.50
Merlot
#730039
ΔE00 3.50
Mulberry
#920A4E
ΔE00 3.63
Dark Magenta
#960056
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1147 #117F49
analogous
#7F117E #7F1147 #7F1211
triadic
#7F1147 #477F11 #11477F
tetradic
#7F1147 #7E7F11 #117F49 #12117F
square
#7F1147 #7E7F11 #117F49 #12117F
split-complementary
#7F1147 #117F12 #117E7F
monochromatic
#1B040F #490A29 #7F1147 #B51865 #E22884
Accessibility & contrast
On white
10.13
#7F1147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7F1147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1147
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1147 | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3448
Deuteranopia (green-blind)
#4A4945
Tritanopia (blue-blind)
#8A002B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1147; /* rgb */ color: rgb(127, 17, 71); /* oklch */ color: oklch(39.7% 0.148 357.6);
Tailwind
colors: {
custom: {
50: '#a95f7a',
500: '#7f1147',
950: '#000000',
},
}SCSS
$custom: #7f1147; $custom-light: #a95f7a; $custom-dark: #000000;
JSON
{
"hex": "#7f1147",
"rgb": {
"r": 127,
"g": 17,
"b": 71
},
"hsl": {
"h": 330.545,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.39683,
"c": 0.14838,
"h": 357.6
},
"luminance": 0.05368
}Semantic roles & 50–950 ramp
primary
#7F1147
secondary
#37B577
accent
#F39635
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110509
muted
#80797B