#792340#792340

#792340 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 39.9% C 0.121 H 3.9°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#792340
RGBrgb(121, 35, 64)
HSLhsl(340, 55%, 31%)
HSVhsv(340, 71%, 47%)
CMYKcmyk(0%, 71.1%, 47.1%, 52.5%)
CIE-LABlab(28.48, 39.60, 3.02)
CIE-LCHlch(28.48, 39.71, 4.36°)
OKLaboklab(39.92% 0.121 0.0082)
OKLCHoklch(39.92% 0.121 3.9)
XYZxyz(9.4123, 5.6384, 5.4422)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792340 #23795C
analogous
#79236B #792340 #793123
triadic
#792340 #407923 #234079
tetradic
#792340 #6B7923 #23795C #312379
square
#792340 #6B7923 #23795C #312379
split-complementary
#792340 #237931 #236B79
monochromatic
#1A080E #4A1527 #792340 #A83159 #CB4B76

Accessibility & contrast

On white

9.87
#792340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#792340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792340
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792340#FFFFFF#000000##FFFFFF
##7923401.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363841
Deuteranopia (green-blind)
#4C493E
Tritanopia (blue-blind)
#84162F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #792340;
/* rgb */ color: rgb(121, 35, 64);
/* oklch */ color: oklch(39.9% 0.121 3.9);
Tailwind
colors: {
  custom: {
    50: '#a46474',
    500: '#792340',
    950: '#000000',
  },
}
SCSS
$custom: #792340;
$custom-light: #a46474;
$custom-dark: #000000;
JSON
{
  "hex": "#792340",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 339.767,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39919,
    "c": 0.1213,
    "h": 3.9
  },
  "luminance": 0.05637
}

Semantic roles & 50–950 ramp

primary
#792340
secondary
#4CAC8B
accent
#DEAC49
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #792340

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

Preview Lab → · Contrast checker → · Palette generator →

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