#792240#792240

#792240 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 39.8% C 0.123 H 3.6°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#792240
RGBrgb(121, 34, 64)
HSLhsl(339, 56%, 30%)
HSVhsv(339, 72%, 47%)
CMYKcmyk(0%, 71.9%, 47.1%, 52.5%)
CIE-LABlab(28.33, 40.02, 2.80)
CIE-LCHlch(28.33, 40.12, 4.00°)
OKLaboklab(39.81% 0.1224 0.0076)
OKLCHoklch(39.81% 0.123 3.6)
XYZxyz(9.3833, 5.5804, 5.4325)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792240 #22795B
analogous
#79226B #792240 #792F22
triadic
#792240 #407922 #224079
tetradic
#792240 #6B7922 #22795B #2F2279
square
#792240 #6B7922 #22795B #2F2279
split-complementary
#792240 #22792F #226B79
monochromatic
#19070D #491527 #792240 #A92F59 #CC4976

Accessibility & contrast

On white

9.93
#792240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#792240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792240
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792240#FFFFFF#000000##FFFFFF
##7922401.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353841
Deuteranopia (green-blind)
#4C493E
Tritanopia (blue-blind)
#84152E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #792240;
/* rgb */ color: rgb(121, 34, 64);
/* oklch */ color: oklch(39.8% 0.123 3.6);
Tailwind
colors: {
  custom: {
    50: '#a46474',
    500: '#792240',
    950: '#000000',
  },
}
SCSS
$custom: #792240;
$custom-light: #a46474;
$custom-dark: #000000;
JSON
{
  "hex": "#792240",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 339.31,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39805,
    "c": 0.1226,
    "h": 3.6
  },
  "luminance": 0.05579
}

Semantic roles & 50–950 ramp

primary
#792240
secondary
#4BAC8A
accent
#DFAB48
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #792240

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

Preview Lab → · Contrast checker → · Palette generator →

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