#792D1A#792D1A

#792D1A is a dark, moderate red. Relative luminance 0.060; OKLCH L 40.4% C 0.111 H 35.2°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#792D1A
RGBrgb(121, 45, 26)
HSLhsl(12, 65%, 29%)
HSVhsv(12, 79%, 47%)
CMYKcmyk(0%, 62.8%, 78.5%, 52.5%)
CIE-LABlab(29.46, 32.06, 28.74)
CIE-LCHlch(29.46, 43.05, 41.88°)
OKLaboklab(40.4% 0.0907 0.0639)
OKLCHoklch(40.4% 0.111 35.2)
XYZxyz(9.0109, 6.0175, 1.6641)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D1A #1A6679
analogous
#791A37 #792D1A #795D1A
triadic
#792D1A #1A792D #2D1A79
tetradic
#792D1A #37791A #1A6679 #5D1A79
square
#792D1A #37791A #1A6679 #5D1A79
split-complementary
#792D1A #1A795D #1A3779
monochromatic
#190905 #471A0F #792D1A #AB4025 #D45839

Accessibility & contrast

On white

9.53
#792D1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#792D1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792D1A
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D1A#FFFFFF#000000##FFFFFF
##792D1A1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B18
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#851B29
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #792d1a;
/* rgb */ color: rgb(121, 45, 26);
/* oklch */ color: oklch(40.4% 0.111 35.2);
Tailwind
colors: {
  custom: {
    50: '#a66957',
    500: '#792d1a',
    950: '#000000',
  },
}
SCSS
$custom: #792d1a;
$custom-light: #a66957;
$custom-dark: #000000;
JSON
{
  "hex": "#792d1a",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 26
  },
  "hsl": {
    "h": 12,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40402,
    "c": 0.11093,
    "h": 35.2
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#792D1A
secondary
#4198AD
accent
#C6E840
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #792D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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