#7F1946#7F1946
#7F1946 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.141 H 359.4°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1946 |
|---|---|
| RGB | rgb(127, 25, 70) |
| HSL | hsl(334, 67%, 30%) |
| HSV | hsv(334, 80%, 50%) |
| CMYK | cmyk(0%, 80.3%, 44.9%, 50.2%) |
| CIE-LAB | lab(28.51, 45.78, -0.80) |
| CIE-LCH | lch(28.51, 45.79, 359.00°) |
| OKLab | oklab(40.22% 0.1407 -0.0015) |
| OKLCH | oklch(40.22% 0.141 359.4) |
| XYZ | xyz(10.2063, 5.6508, 6.3464) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.90
Wine (survey)
#80013F
ΔE00 2.33
Mulberry
#920A4E
ΔE00 3.66
Merlot
#730039
ΔE00 3.80
Reddish Purple
#910951
ΔE00 3.81
Dark Magenta
#960056
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1946 #197F52
analogous
#7F1979 #7F1946 #7F1F19
triadic
#7F1946 #467F19 #19467F
tetradic
#7F1946 #797F19 #197F52 #1F197F
square
#7F1946 #797F19 #197F52 #1F197F
split-complementary
#7F1946 #197F1F #19797F
monochromatic
#1A050E #4C0F2A #7F1946 #B22362 #D83A80
Accessibility & contrast
On white
9.86
#7F1946 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7F1946 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1946
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1946 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1946 | 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)
#303747
Deuteranopia (green-blind)
#4C4A44
Tritanopia (blue-blind)
#8A052D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1946; /* rgb */ color: rgb(127, 25, 70); /* oklch */ color: oklch(40.2% 0.141 359.4);
Tailwind
colors: {
custom: {
50: '#a96179',
500: '#7f1946',
950: '#000000',
},
}SCSS
$custom: #7f1946; $custom-light: #a96179; $custom-dark: #000000;
JSON
{
"hex": "#7f1946",
"rgb": {
"r": 127,
"g": 25,
"b": 70
},
"hsl": {
"h": 333.529,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.40221,
"c": 0.14072,
"h": 359.4
},
"luminance": 0.05649
}Semantic roles & 50–950 ramp
primary
#7F1946
secondary
#41B381
accent
#EA9E3E
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B