#7F1A42#7F1A42
#7F1A42 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.138 H 2.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1A42 |
|---|---|
| RGB | rgb(127, 26, 66) |
| HSL | hsl(336, 66%, 30%) |
| HSV | hsv(336, 80%, 50%) |
| CMYK | cmyk(0%, 79.5%, 48%, 50.2%) |
| CIE-LAB | lab(28.50, 45.06, 1.86) |
| CIE-LCH | lch(28.50, 45.10, 2.36°) |
| OKLab | oklab(40.17% 0.1382 0.0053) |
| OKLCH | oklch(40.17% 0.138 2.2) |
| XYZ | xyz(10.1060, 5.6455, 5.7107) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.30
Red Purple
#820747
ΔE00 2.96
Merlot
#730039
ΔE00 3.86
Mulberry
#920A4E
ΔE00 4.15
Reddish Purple
#910951
ΔE00 4.62
Berry
#990F4B
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1A42 #1A7F57
analogous
#7F1A74 #7F1A42 #7F251A
triadic
#7F1A42 #427F1A #1A427F
tetradic
#7F1A42 #747F1A #1A7F57 #251A7F
square
#7F1A42 #747F1A #1A7F57 #251A7F
split-complementary
#7F1A42 #1A7F25 #1A747F
monochromatic
#19050D #4C1028 #7F1A42 #B2245C #D73C7A
Accessibility & contrast
On white
9.86
#7F1A42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7F1A42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1A42
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1A42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1A42 | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323743
Deuteranopia (green-blind)
#4D4A40
Tritanopia (blue-blind)
#8A032C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1a42; /* rgb */ color: rgb(127, 26, 66); /* oklch */ color: oklch(40.2% 0.138 2.2);
Tailwind
colors: {
custom: {
50: '#a96176',
500: '#7f1a42',
950: '#000000',
},
}SCSS
$custom: #7f1a42; $custom-light: #a96176; $custom-dark: #000000;
JSON
{
"hex": "#7f1a42",
"rgb": {
"r": 127,
"g": 26,
"b": 66
},
"hsl": {
"h": 336.238,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.40169,
"c": 0.13833,
"h": 2.2
},
"luminance": 0.05644
}Semantic roles & 50–950 ramp
primary
#7F1A42
secondary
#42B386
accent
#E9A63F
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B