#792A17#792A17

#792A17 is a dark, moderate red. Relative luminance 0.058; OKLCH L 39.9% C 0.115 H 34.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#792A17
RGBrgb(121, 42, 23)
HSLhsl(12, 68%, 28%)
HSVhsv(12, 81%, 47%)
CMYKcmyk(0%, 65.3%, 81%, 52.5%)
CIE-LABlab(28.86, 33.42, 29.83)
CIE-LCHlch(28.86, 44.80, 41.76°)
OKLaboklab(39.94% 0.0943 0.0654)
OKLCHoklch(39.94% 0.115 34.7)
XYZxyz(8.8687, 5.7840, 1.4599)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A17 #176679
analogous
#791735 #792A17 #795B17
triadic
#792A17 #17792A #2A1779
tetradic
#792A17 #357917 #176679 #5B1779
square
#792A17 #357917 #176679 #5B1779
split-complementary
#792A17 #17795B #173579
monochromatic
#1A0905 #46180D #792A17 #AC3C21 #D85232

Accessibility & contrast

On white

9.74
#792A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#792A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792A17
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792A17#FFFFFF#000000##FFFFFF
##792A171.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403914
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#861626
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #792a17;
/* rgb */ color: rgb(121, 42, 23);
/* oklch */ color: oklch(39.9% 0.115 34.7);
Tailwind
colors: {
  custom: {
    50: '#a76755',
    500: '#792a17',
    950: '#000000',
  },
}
SCSS
$custom: #792a17;
$custom-light: #a76755;
$custom-dark: #000000;
JSON
{
  "hex": "#792a17",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 23
  },
  "hsl": {
    "h": 11.633,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39942,
    "c": 0.11475,
    "h": 34.7
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#792A17
secondary
#3E98AE
accent
#C9EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #792A17

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

Preview Lab → · Contrast checker → · Palette generator →

#792A17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva