#792042#792042
#792042 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.7% C 0.126 H 1.5°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #792042 |
|---|---|
| RGB | rgb(121, 32, 66) |
| HSL | hsl(337, 58%, 30%) |
| HSV | hsv(337, 74%, 47%) |
| CMYK | cmyk(0%, 73.6%, 45.5%, 52.5%) |
| CIE-LAB | lab(28.09, 41.05, 1.12) |
| CIE-LCH | lch(28.09, 41.06, 1.57°) |
| OKLab | oklab(39.65% 0.1257 0.0034) |
| OKLCH | oklch(39.65% 0.126 1.5) |
| XYZ | xyz(9.3857, 5.4925, 5.7191) |
| Luminance | 0.0549 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.33
Red Purple
#820747
ΔE00 3.72
Merlot
#730039
ΔE00 4.00
Mulberry
#920A4E
ΔE00 5.28
Reddish Purple
#910951
ΔE00 5.59
Berry
#990F4B
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792042 #207957
analogous
#79206E #792042 #792B20
triadic
#792042 #427920 #204279
tetradic
#792042 #6E7920 #207957 #2B2079
square
#792042 #6E7920 #207957 #2B2079
split-complementary
#792042 #20792B #206E79
monochromatic
#18060D #491328 #792042 #A92D5C #CE457A
Accessibility & contrast
On white
10.01
#792042 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#792042 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792042
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792042 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792042 | 1.00 | 10.01 | 2.10 | 10.01 |
| #FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333743
Deuteranopia (green-blind)
#4B4940
Tritanopia (blue-blind)
#84132E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #792042; /* rgb */ color: rgb(121, 32, 66); /* oklch */ color: oklch(39.7% 0.126 1.5);
Tailwind
colors: {
custom: {
50: '#a46376',
500: '#792042',
950: '#000000',
},
}SCSS
$custom: #792042; $custom-light: #a46376; $custom-dark: #000000;
JSON
{
"hex": "#792042",
"rgb": {
"r": 121,
"g": 32,
"b": 66
},
"hsl": {
"h": 337.079,
"s": 58.17,
"l": 30
},
"oklch": {
"l": 0.39653,
"c": 0.12578,
"h": 1.5
},
"luminance": 0.05491
}Semantic roles & 50–950 ramp
primary
#792042
secondary
#49AC86
accent
#E1A646
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B