#7F1945#7F1945
#7F1945 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.140 H 0.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1945 |
|---|---|
| RGB | rgb(127, 25, 69) |
| HSL | hsl(334, 67%, 30%) |
| HSV | hsv(334, 80%, 50%) |
| CMYK | cmyk(0%, 80.3%, 45.7%, 50.2%) |
| CIE-LAB | lab(28.48, 45.68, -0.18) |
| CIE-LCH | lch(28.48, 45.68, 359.78°) |
| OKLab | oklab(40.19% 0.1404 0.0001) |
| OKLCH | oklch(40.19% 0.14 0) |
| XYZ | xyz(10.1750, 5.6383, 6.1816) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.08
Wine (survey)
#80013F
ΔE00 2.21
Mulberry
#920A4E
ΔE00 3.73
Merlot
#730039
ΔE00 3.74
Reddish Purple
#910951
ΔE00 3.96
Berry
#990F4B
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1945 #197F53
analogous
#7F1978 #7F1945 #7F2019
triadic
#7F1945 #457F19 #19457F
tetradic
#7F1945 #787F19 #197F53 #20197F
square
#7F1945 #787F19 #197F53 #20197F
split-complementary
#7F1945 #197F20 #19787F
monochromatic
#1A050E #4C0F29 #7F1945 #B22361 #D83A7E
Accessibility & contrast
On white
9.87
#7F1945 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7F1945 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1945
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1945 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1945 | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313746
Deuteranopia (green-blind)
#4C4A43
Tritanopia (blue-blind)
#8A042D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1945; /* rgb */ color: rgb(127, 25, 69); /* oklch */ color: oklch(40.2% 0.140 0.0);
Tailwind
colors: {
custom: {
50: '#a96178',
500: '#7f1945',
950: '#000000',
},
}SCSS
$custom: #7f1945; $custom-light: #a96178; $custom-dark: #000000;
JSON
{
"hex": "#7f1945",
"rgb": {
"r": 127,
"g": 25,
"b": 69
},
"hsl": {
"h": 334.118,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.40187,
"c": 0.14036,
"h": 0
},
"luminance": 0.05637
}Semantic roles & 50–950 ramp
primary
#7F1945
secondary
#41B382
accent
#EAA03E
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B