#791842#791842
#791842 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.135 H 359.8°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #791842 |
|---|---|
| RGB | rgb(121, 24, 66) |
| HSL | hsl(334, 67%, 28%) |
| HSV | hsv(334, 80%, 47%) |
| CMYK | cmyk(0%, 80.2%, 45.5%, 52.5%) |
| CIE-LAB | lab(27.05, 43.96, -0.39) |
| CIE-LCH | lch(27.05, 43.96, 359.49°) |
| OKLab | oklab(38.89% 0.1351 -0.0005) |
| OKLCH | oklch(38.89% 0.135 359.8) |
| XYZ | xyz(9.1959, 5.1128, 5.6558) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.33
Red Purple
#820747
ΔE00 2.48
Merlot
#730039
ΔE00 2.86
Mulberry
#920A4E
ΔE00 4.85
Reddish Purple
#910951
ΔE00 4.99
Berry
#990F4B
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#791842 #18794F
analogous
#791872 #791842 #791E18
triadic
#791842 #427918 #184279
tetradic
#791842 #727918 #18794F #1E1879
square
#791842 #727918 #18794F #1E1879
split-complementary
#791842 #18791E #187279
monochromatic
#1A050E #460E26 #791842 #AC225E #D7357B
Accessibility & contrast
On white
10.38
#791842 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#791842 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #791842
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##791842 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##791842 | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3443
Deuteranopia (green-blind)
#484740
Tritanopia (blue-blind)
#84052B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #791842; /* rgb */ color: rgb(121, 24, 66); /* oklch */ color: oklch(38.9% 0.135 359.8);
Tailwind
colors: {
custom: {
50: '#a46076',
500: '#791842',
950: '#000000',
},
}SCSS
$custom: #791842; $custom-light: #a46076; $custom-dark: #000000;
JSON
{
"hex": "#791842",
"rgb": {
"r": 121,
"g": 24,
"b": 66
},
"hsl": {
"h": 334.021,
"s": 66.897,
"l": 28.431
},
"oklch": {
"l": 0.38887,
"c": 0.13506,
"h": 359.8
},
"luminance": 0.05112
}Semantic roles & 50–950 ramp
primary
#791842
secondary
#3FAE7E
accent
#EA9F3E
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B