#792E1B#792E1B

#792E1B is a dark, moderate red. Relative luminance 0.061; OKLCH L 40.6% C 0.110 H 35.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#792E1B
RGBrgb(121, 46, 27)
HSLhsl(12, 64%, 29%)
HSVhsv(12, 78%, 47%)
CMYKcmyk(0%, 62%, 77.7%, 52.5%)
CIE-LABlab(29.66, 31.59, 28.38)
CIE-LCHlch(29.66, 42.47, 41.93°)
OKLaboklab(40.56% 0.0895 0.0634)
OKLCHoklch(40.56% 0.11 35.3)
XYZxyz(9.0609, 6.0993, 1.7369)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E1B #1B6679
analogous
#791B37 #792E1B #795D1B
triadic
#792E1B #1B792E #2E1B79
tetradic
#792E1B #37791B #1B6679 #5D1B79
square
#792E1B #37791B #1B6679 #5D1B79
split-complementary
#792E1B #1B795D #1B3779
monochromatic
#190A06 #471B10 #792E1B #AB4126 #D35A3B

Accessibility & contrast

On white

9.46
#792E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792E1B
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E1B#FFFFFF#000000##FFFFFF
##792E1B1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C19
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#851D2A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #792e1b;
/* rgb */ color: rgb(121, 46, 27);
/* oklch */ color: oklch(40.6% 0.110 35.3);
Tailwind
colors: {
  custom: {
    50: '#a66a58',
    500: '#792e1b',
    950: '#000000',
  },
}
SCSS
$custom: #792e1b;
$custom-light: #a66a58;
$custom-dark: #000000;
JSON
{
  "hex": "#792e1b",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 27
  },
  "hsl": {
    "h": 12.128,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40561,
    "c": 0.10962,
    "h": 35.3
  },
  "luminance": 0.06098
}

Semantic roles & 50–950 ramp

primary
#792E1B
secondary
#4398AD
accent
#C5E741
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #792E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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