#7F1942#7F1942
#7F1942 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.139 H 2.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1942 |
|---|---|
| RGB | rgb(127, 25, 66) |
| HSL | hsl(336, 67%, 30%) |
| HSV | hsv(336, 80%, 50%) |
| CMYK | cmyk(0%, 80.3%, 48%, 50.2%) |
| CIE-LAB | lab(28.39, 45.39, 1.69) |
| CIE-LCH | lch(28.39, 45.42, 2.14°) |
| OKLab | oklab(40.09% 0.1393 0.0048) |
| OKLCH | oklch(40.09% 0.139 2) |
| XYZ | xyz(10.0842, 5.6020, 5.7035) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.15
Red Purple
#820747
ΔE00 2.81
Merlot
#730039
ΔE00 3.74
Mulberry
#920A4E
ΔE00 4.09
Reddish Purple
#910951
ΔE00 4.54
Berry
#990F4B
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1942 #197F56
analogous
#7F1975 #7F1942 #7F2319
triadic
#7F1942 #427F19 #19427F
tetradic
#7F1942 #757F19 #197F56 #23197F
square
#7F1942 #757F19 #197F56 #23197F
split-complementary
#7F1942 #197F23 #19757F
monochromatic
#1A050D #4C0F27 #7F1942 #B2235D #D83A7A
Accessibility & contrast
On white
9.90
#7F1942 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7F1942 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1942
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1942 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1942 | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323643
Deuteranopia (green-blind)
#4D4A40
Tritanopia (blue-blind)
#8A012B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1942; /* rgb */ color: rgb(127, 25, 66); /* oklch */ color: oklch(40.1% 0.139 2.0);
Tailwind
colors: {
custom: {
50: '#a96176',
500: '#7f1942',
950: '#000000',
},
}SCSS
$custom: #7f1942; $custom-light: #a96176; $custom-dark: #000000;
JSON
{
"hex": "#7f1942",
"rgb": {
"r": 127,
"g": 25,
"b": 66
},
"hsl": {
"h": 335.882,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.40085,
"c": 0.13935,
"h": 2
},
"luminance": 0.05601
}Semantic roles & 50–950 ramp
primary
#7F1942
secondary
#41B385
accent
#EAA53E
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B