#7F1842#7F1842
#7F1842 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.140 H 1.8°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1842 |
|---|---|
| RGB | rgb(127, 24, 66) |
| HSL | hsl(336, 68%, 30%) |
| HSV | hsv(336, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 48%, 50.2%) |
| CIE-LAB | lab(28.27, 45.70, 1.53) |
| CIE-LCH | lch(28.27, 45.73, 1.92°) |
| OKLab | oklab(40% 0.1403 0.0044) |
| OKLCH | oklch(40% 0.14 1.8) |
| XYZ | xyz(10.0632, 5.5600, 5.6965) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.00
Red Purple
#820747
ΔE00 2.66
Merlot
#730039
ΔE00 3.62
Mulberry
#920A4E
ΔE00 4.04
Reddish Purple
#910951
ΔE00 4.47
Berry
#990F4B
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1842 #187F55
analogous
#7F1876 #7F1842 #7F2218
triadic
#7F1842 #427F18 #18427F
tetradic
#7F1842 #767F18 #187F55 #22187F
square
#7F1842 #767F18 #187F55 #22187F
split-complementary
#7F1842 #187F22 #18767F
monochromatic
#1A050D #4C0E27 #7F1842 #B2225D #D9387A
Accessibility & contrast
On white
9.94
#7F1842 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7F1842 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1842
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1842 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1842 | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313643
Deuteranopia (green-blind)
#4D4A40
Tritanopia (blue-blind)
#8A002B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1842; /* rgb */ color: rgb(127, 24, 66); /* oklch */ color: oklch(40.0% 0.140 1.8);
Tailwind
colors: {
custom: {
50: '#a96176',
500: '#7f1842',
950: '#000000',
},
}SCSS
$custom: #7f1842; $custom-light: #a96176; $custom-dark: #000000;
JSON
{
"hex": "#7f1842",
"rgb": {
"r": 127,
"g": 24,
"b": 66
},
"hsl": {
"h": 335.534,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.40003,
"c": 0.14035,
"h": 1.8
},
"luminance": 0.05559
}Semantic roles & 50–950 ramp
primary
#7F1842
secondary
#3FB384
accent
#EBA43D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110508
muted
#807A7B