#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
RGBrgb(121, 32, 64)
HSLhsl(338, 58%, 30%)
HSVhsv(338, 74%, 47%)
CMYKcmyk(0%, 73.6%, 47.1%, 52.5%)
CIE-LABlab(28.03, 40.84, 2.37)
CIE-LCHlch(28.03, 40.91, 3.33°)
OKLaboklab(39.59% 0.125 0.0066)
OKLCHoklch(39.59% 0.125 3)
XYZxyz(9.3278, 5.4693, 5.4140)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

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
##7920401.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.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

Preview Lab

Preview with #792040

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#792040 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva