#7F1442#7F1442
#7F1442 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.144 H 1.2°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1442 |
|---|---|
| RGB | rgb(127, 20, 66) |
| HSL | hsl(334, 73%, 29%) |
| HSV | hsv(334, 84%, 50%) |
| CMYK | cmyk(0%, 84.3%, 48%, 50.2%) |
| CIE-LAB | lab(27.86, 46.87, 0.94) |
| CIE-LCH | lch(27.86, 46.88, 1.15°) |
| OKLab | oklab(39.7% 0.144 0.0029) |
| OKLCH | oklch(39.7% 0.144 1.2) |
| XYZ | xyz(9.9868, 5.4071, 5.6710) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.51
Red Purple
#820747
ΔE00 2.15
Merlot
#730039
ΔE00 3.24
Mulberry
#920A4E
ΔE00 3.90
Reddish Purple
#910951
ΔE00 4.25
Purple Red
#990147
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1442 #147F51
analogous
#7F1478 #7F1442 #7F1C14
triadic
#7F1442 #427F14 #14427F
tetradic
#7F1442 #787F14 #147F51 #1C147F
square
#7F1442 #787F14 #147F51 #1C147F
split-complementary
#7F1442 #147F1C #14787F
monochromatic
#1A040E #4A0C27 #7F1442 #B41C5D #DE2F7A
Accessibility & contrast
On white
10.09
#7F1442 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7F1442 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1442
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1442 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1442 | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3543
Deuteranopia (green-blind)
#4C4940
Tritanopia (blue-blind)
#8B0029
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1442; /* rgb */ color: rgb(127, 20, 66); /* oklch */ color: oklch(39.7% 0.144 1.2);
Tailwind
colors: {
custom: {
50: '#a95f76',
500: '#7f1442',
950: '#000000',
},
}SCSS
$custom: #7f1442; $custom-light: #a95f76; $custom-dark: #000000;
JSON
{
"hex": "#7f1442",
"rgb": {
"r": 127,
"g": 20,
"b": 66
},
"hsl": {
"h": 334.206,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.39703,
"c": 0.14407,
"h": 1.2
},
"luminance": 0.05406
}Semantic roles & 50–950 ramp
primary
#7F1442
secondary
#3BB480
accent
#EFA138
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B