#7F1A45#7F1A45
#7F1A45 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.139 H 0.2°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1A45 |
|---|---|
| RGB | rgb(127, 26, 69) |
| HSL | hsl(334, 66%, 30%) |
| HSV | hsv(334, 80%, 50%) |
| CMYK | cmyk(0%, 79.5%, 45.7%, 50.2%) |
| CIE-LAB | lab(28.59, 45.36, -0.01) |
| CIE-LCH | lch(28.59, 45.36, 359.99°) |
| OKLab | oklab(40.27% 0.1393 0.0005) |
| OKLCH | oklch(40.27% 0.139 0.2) |
| XYZ | xyz(10.1968, 5.6818, 6.1888) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.24
Wine (survey)
#80013F
ΔE00 2.32
Mulberry
#920A4E
ΔE00 3.77
Merlot
#730039
ΔE00 3.83
Reddish Purple
#910951
ΔE00 4.02
Berry
#990F4B
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1A45 #1A7F54
analogous
#7F1A78 #7F1A45 #7F211A
triadic
#7F1A45 #457F1A #1A457F
tetradic
#7F1A45 #787F1A #1A7F54 #211A7F
square
#7F1A45 #787F1A #1A7F54 #211A7F
split-complementary
#7F1A45 #1A7F21 #1A787F
monochromatic
#19050E #4C1029 #7F1A45 #B22461 #D73C7E
Accessibility & contrast
On white
9.83
#7F1A45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7F1A45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1A45
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1A45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1A45 | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313746
Deuteranopia (green-blind)
#4D4A43
Tritanopia (blue-blind)
#8A062D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1a45; /* rgb */ color: rgb(127, 26, 69); /* oklch */ color: oklch(40.3% 0.139 0.2);
Tailwind
colors: {
custom: {
50: '#a96278',
500: '#7f1a45',
950: '#000000',
},
}SCSS
$custom: #7f1a45; $custom-light: #a96278; $custom-dark: #000000;
JSON
{
"hex": "#7f1a45",
"rgb": {
"r": 127,
"g": 26,
"b": 69
},
"hsl": {
"h": 334.455,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.4027,
"c": 0.13932,
"h": 0.2
},
"luminance": 0.0568
}Semantic roles & 50–950 ramp
primary
#7F1A45
secondary
#42B383
accent
#E9A13F
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110609
muted
#807A7B