#7F1846#7F1846
#7F1846 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.142 H 359.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1846 |
|---|---|
| RGB | rgb(127, 24, 70) |
| HSL | hsl(333, 68%, 30%) |
| HSV | hsv(333, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 44.9%, 50.2%) |
| CIE-LAB | lab(28.40, 46.10, -0.96) |
| CIE-LCH | lch(28.40, 46.11, 358.81°) |
| OKLab | oklab(40.14% 0.1417 -0.002) |
| OKLCH | oklch(40.14% 0.142 359.2) |
| XYZ | xyz(10.1853, 5.6088, 6.3394) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.75
Wine (survey)
#80013F
ΔE00 2.25
Mulberry
#920A4E
ΔE00 3.63
Merlot
#730039
ΔE00 3.72
Reddish Purple
#910951
ΔE00 3.76
Dark Magenta
#960056
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1846 #187F51
analogous
#7F187A #7F1846 #7F1E18
triadic
#7F1846 #467F18 #18467F
tetradic
#7F1846 #7A7F18 #187F51 #1E187F
square
#7F1846 #7A7F18 #187F51 #1E187F
split-complementary
#7F1846 #187F1E #187A7F
monochromatic
#1A050E #4C0E2A #7F1846 #B22262 #D93880
Accessibility & contrast
On white
9.90
#7F1846 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7F1846 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1846
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1846 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1846 | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303747
Deuteranopia (green-blind)
#4C4A44
Tritanopia (blue-blind)
#8A032D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1846; /* rgb */ color: rgb(127, 24, 70); /* oklch */ color: oklch(40.1% 0.142 359.2);
Tailwind
colors: {
custom: {
50: '#a96179',
500: '#7f1846',
950: '#000000',
},
}SCSS
$custom: #7f1846; $custom-light: #a96179; $custom-dark: #000000;
JSON
{
"hex": "#7f1846",
"rgb": {
"r": 127,
"g": 24,
"b": 70
},
"hsl": {
"h": 333.204,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.4014,
"c": 0.14173,
"h": 359.2
},
"luminance": 0.05607
}Semantic roles & 50–950 ramp
primary
#7F1846
secondary
#3FB380
accent
#EB9D3D
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B