#792040#792040
#792040 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.6% C 0.125 H 3.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #792040 |
|---|---|
| RGB | rgb(121, 32, 64) |
| HSL | hsl(338, 58%, 30%) |
| HSV | hsv(338, 74%, 47%) |
| CMYK | cmyk(0%, 73.6%, 47.1%, 52.5%) |
| CIE-LAB | lab(28.03, 40.84, 2.37) |
| CIE-LCH | lch(28.03, 40.91, 3.33°) |
| OKLab | oklab(39.59% 0.125 0.0066) |
| OKLCH | oklch(39.59% 0.125 3) |
| XYZ | xyz(9.3278, 5.4693, 5.4140) |
| Luminance | 0.0547 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.47
Merlot
#730039
ΔE00 4.14
Red Purple
#820747
ΔE00 4.18
Mulberry
#920A4E
ΔE00 5.57
Bordeaux
#7B002C
ΔE00 5.82
Reddish Purple
#910951
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792040 #207959
analogous
#79206C #792040 #792D20
triadic
#792040 #407920 #204079
tetradic
#792040 #6C7920 #207959 #2D2079
square
#792040 #6C7920 #207959 #2D2079
split-complementary
#792040 #20792D #206C79
monochromatic
#18060D #491326 #792040 #A92D5A #CE4577
Accessibility & contrast
On white
10.03
#792040 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#792040 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792040
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792040 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792040 | 1.00 | 10.03 | 2.09 | 10.03 |
| #FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343741
Deuteranopia (green-blind)
#4B483E
Tritanopia (blue-blind)
#84122D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #792040; /* rgb */ color: rgb(121, 32, 64); /* oklch */ color: oklch(39.6% 0.125 3.0);
Tailwind
colors: {
custom: {
50: '#a46374',
500: '#792040',
950: '#000000',
},
}SCSS
$custom: #792040; $custom-light: #a46374; $custom-dark: #000000;
JSON
{
"hex": "#792040",
"rgb": {
"r": 121,
"g": 32,
"b": 64
},
"hsl": {
"h": 338.427,
"s": 58.17,
"l": 30
},
"oklch": {
"l": 0.39587,
"c": 0.12515,
"h": 3
},
"luminance": 0.05468
}Semantic roles & 50–950 ramp
primary
#792040
secondary
#49AC88
accent
#E1AA46
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B