#7F1042#7F1042
#7F1042 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.147 H 0.6°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1042 |
|---|---|
| RGB | rgb(127, 16, 66) |
| HSL | hsl(333, 78%, 28%) |
| HSV | hsv(333, 87%, 50%) |
| CMYK | cmyk(0%, 87.4%, 48%, 50.2%) |
| CIE-LAB | lab(27.51, 47.88, 0.42) |
| CIE-LCH | lch(27.51, 47.88, 0.51°) |
| OKLab | oklab(39.45% 0.1473 0.0016) |
| OKLCH | oklch(39.45% 0.147 0.6) |
| XYZ | xyz(9.9219, 5.2773, 5.6494) |
| Luminance | 0.0528 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.16
Red Purple
#820747
ΔE00 1.75
Merlot
#730039
ΔE00 2.97
Mulberry
#920A4E
ΔE00 3.84
Reddish Purple
#910951
ΔE00 4.12
Purple Red
#990147
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1042 #107F4D
analogous
#7F1079 #7F1042 #7F1610
triadic
#7F1042 #427F10 #10427F
tetradic
#7F1042 #797F10 #107F4D #16107F
square
#7F1042 #797F10 #107F4D #16107F
split-complementary
#7F1042 #107F16 #10797F
monochromatic
#1B030E #490926 #7F1042 #B5175E #E4267B
Accessibility & contrast
On white
10.22
#7F1042 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7F1042 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1042
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1042 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1042 | 1.00 | 10.22 | 2.06 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3443
Deuteranopia (green-blind)
#4B4840
Tritanopia (blue-blind)
#8B0028
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1042; /* rgb */ color: rgb(127, 16, 66); /* oklch */ color: oklch(39.4% 0.147 0.6);
Tailwind
colors: {
custom: {
50: '#a95e76',
500: '#7f1042',
950: '#000000',
},
}SCSS
$custom: #7f1042; $custom-light: #a95e76; $custom-dark: #000000;
JSON
{
"hex": "#7f1042",
"rgb": {
"r": 127,
"g": 16,
"b": 66
},
"hsl": {
"h": 332.973,
"s": 77.622,
"l": 28.039
},
"oklch": {
"l": 0.39445,
"c": 0.14732,
"h": 0.6
},
"luminance": 0.05276
}Semantic roles & 50–950 ramp
primary
#7F1042
secondary
#36B57C
accent
#F49D34
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B