#7F1142#7F1142
#7F1142 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.147 H 0.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1142 |
|---|---|
| RGB | rgb(127, 17, 66) |
| HSL | hsl(333, 76%, 28%) |
| HSV | hsv(333, 87%, 50%) |
| CMYK | cmyk(0%, 86.6%, 48%, 50.2%) |
| CIE-LAB | lab(27.59, 47.64, 0.54) |
| CIE-LCH | lch(27.59, 47.64, 0.66°) |
| OKLab | oklab(39.51% 0.1465 0.0019) |
| OKLCH | oklch(39.51% 0.147 0.8) |
| XYZ | xyz(9.9371, 5.3077, 5.6544) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.23
Red Purple
#820747
ΔE00 1.84
Merlot
#730039
ΔE00 3.03
Mulberry
#920A4E
ΔE00 3.85
Reddish Purple
#910951
ΔE00 4.15
Purple Red
#990147
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1142 #117F4E
analogous
#7F1179 #7F1142 #7F1711
triadic
#7F1142 #427F11 #11427F
tetradic
#7F1142 #797F11 #117F4E #17117F
square
#7F1142 #797F11 #117F4E #17117F
split-complementary
#7F1142 #117F17 #11797F
monochromatic
#1B040E #490A26 #7F1142 #B5185E #E2287B
Accessibility & contrast
On white
10.19
#7F1142 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7F1142 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1142
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1142 | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3443
Deuteranopia (green-blind)
#4B4940
Tritanopia (blue-blind)
#8B0028
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1142; /* rgb */ color: rgb(127, 17, 66); /* oklch */ color: oklch(39.5% 0.147 0.8);
Tailwind
colors: {
custom: {
50: '#a95e76',
500: '#7f1142',
950: '#000000',
},
}SCSS
$custom: #7f1142; $custom-light: #a95e76; $custom-dark: #000000;
JSON
{
"hex": "#7f1142",
"rgb": {
"r": 127,
"g": 17,
"b": 66
},
"hsl": {
"h": 333.273,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.39505,
"c": 0.14655,
"h": 0.8
},
"luminance": 0.05306
}Semantic roles & 50–950 ramp
primary
#7F1142
secondary
#37B57D
accent
#F39E35
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B