#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
RGBrgb(121, 32, 66)
HSLhsl(337, 58%, 30%)
HSVhsv(337, 74%, 47%)
CMYKcmyk(0%, 73.6%, 45.5%, 52.5%)
CIE-LABlab(28.09, 41.05, 1.12)
CIE-LCHlch(28.09, 41.06, 1.57°)
OKLaboklab(39.65% 0.1257 0.0034)
OKLCHoklch(39.65% 0.126 1.5)
XYZxyz(9.3857, 5.4925, 5.7191)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

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
##7920421.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.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

Preview Lab

Preview with #792042

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

Preview Lab → · Contrast checker → · Palette generator →

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