#792E17#792E17

#792E17 is a dark, moderate red. Relative luminance 0.061; OKLCH L 40.5% C 0.111 H 37.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#792E17
RGBrgb(121, 46, 23)
HSLhsl(14, 68%, 28%)
HSVhsv(14, 81%, 47%)
CMYKcmyk(0%, 62%, 81%, 52.5%)
CIE-LABlab(29.62, 31.42, 30.61)
CIE-LCHlch(29.62, 43.86, 44.25°)
OKLaboklab(40.51% 0.0881 0.0671)
OKLCHoklch(40.51% 0.111 37.3)
XYZxyz(9.0178, 6.0820, 1.5095)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E17 #176279
analogous
#791731 #792E17 #795F17
triadic
#792E17 #17792E #2E1779
tetradic
#792E17 #317917 #176279 #5F1779
square
#792E17 #317917 #176279 #5F1779
split-complementary
#792E17 #17795F #173179
monochromatic
#1A0A05 #461A0D #792E17 #AC4221 #D85932

Accessibility & contrast

On white

9.48
#792E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#792E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E17
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E17#FFFFFF#000000##FFFFFF
##792E171.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B14
Deuteranopia (green-blind)
#554C14
Tritanopia (blue-blind)
#851C29
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #792e17;
/* rgb */ color: rgb(121, 46, 23);
/* oklch */ color: oklch(40.5% 0.111 37.3);
Tailwind
colors: {
  custom: {
    50: '#a66a55',
    500: '#792e17',
    950: '#000000',
  },
}
SCSS
$custom: #792e17;
$custom-light: #a66a55;
$custom-dark: #000000;
JSON
{
  "hex": "#792e17",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 23
  },
  "hsl": {
    "h": 14.082,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40514,
    "c": 0.11073,
    "h": 37.3
  },
  "luminance": 0.06081
}

Semantic roles & 50–950 ramp

primary
#792E17
secondary
#3E94AE
accent
#C2EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #792E17

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

Preview Lab → · Contrast checker → · Palette generator →

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