#7F1849#7F1849
#7F1849 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.143 H 357.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1849 |
|---|---|
| RGB | rgb(127, 24, 73) |
| HSL | hsl(331, 68%, 30%) |
| HSV | hsv(331, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 42.5%, 50.2%) |
| CIE-LAB | lab(28.51, 46.41, -2.81) |
| CIE-LCH | lch(28.51, 46.49, 356.53°) |
| OKLab | oklab(40.25% 0.1427 -0.0068) |
| OKLCH | oklch(40.25% 0.143 357.3) |
| XYZ | xyz(10.2824, 5.6477, 6.8507) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.53
Wine (survey)
#80013F
ΔE00 2.84
Reddish Purple
#910951
ΔE00 3.46
Mulberry
#920A4E
ΔE00 3.61
Merlot
#730039
ΔE00 4.07
Dark Magenta
#960056
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1849 #187F4E
analogous
#7F187D #7F1849 #7F1A18
triadic
#7F1849 #497F18 #18497F
tetradic
#7F1849 #7D7F18 #187F4E #1A187F
square
#7F1849 #7D7F18 #187F4E #1A187F
split-complementary
#7F1849 #187F1A #187D7F
monochromatic
#1A050F #4C0E2B #7F1849 #B22267 #D93885
Accessibility & contrast
On white
9.86
#7F1849 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7F1849 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1849
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1849 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1849 | 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)
#2F374A
Deuteranopia (green-blind)
#4B4A47
Tritanopia (blue-blind)
#8A062E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1849; /* rgb */ color: rgb(127, 24, 73); /* oklch */ color: oklch(40.2% 0.143 357.3);
Tailwind
colors: {
custom: {
50: '#a9617b',
500: '#7f1849',
950: '#000000',
},
}SCSS
$custom: #7f1849; $custom-light: #a9617b; $custom-dark: #000000;
JSON
{
"hex": "#7f1849",
"rgb": {
"r": 127,
"g": 24,
"b": 73
},
"hsl": {
"h": 331.456,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.40249,
"c": 0.14289,
"h": 357.3
},
"luminance": 0.05646
}Semantic roles & 50–950 ramp
primary
#7F1849
secondary
#3FB37C
accent
#EB983D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B