#792B1F#792B1F

#792B1F is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.2% C 0.112 H 31.2°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#792B1F
RGBrgb(121, 43, 31)
HSLhsl(8, 59%, 30%)
HSVhsv(8, 74%, 47%)
CMYKcmyk(0%, 64.5%, 74.4%, 52.5%)
CIE-LABlab(29.14, 33.30, 25.42)
CIE-LCHlch(29.14, 41.89, 37.35°)
OKLaboklab(40.18% 0.0956 0.0579)
OKLCHoklch(40.18% 0.112 31.2)
XYZxyz(8.9973, 5.8929, 1.9597)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B1F #1F6D79
analogous
#791F40 #792B1F #79581F
triadic
#792B1F #1F792B #2B1F79
tetradic
#792B1F #40791F #1F6D79 #581F79
square
#792B1F #40791F #1F6D79 #581F79
split-complementary
#792B1F #1F7958 #1F4079
monochromatic
#180906 #481A13 #792B1F #AA3C2B #CF5643

Accessibility & contrast

On white

9.64
#792B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#792B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B1F
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B1F#FFFFFF#000000##FFFFFF
##792B1F1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A1D
Deuteranopia (green-blind)
#544B1D
Tritanopia (blue-blind)
#851929
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #792b1f;
/* rgb */ color: rgb(121, 43, 31);
/* oklch */ color: oklch(40.2% 0.112 31.2);
Tailwind
colors: {
  custom: {
    50: '#a6685b',
    500: '#792b1f',
    950: '#000000',
  },
}
SCSS
$custom: #792b1f;
$custom-light: #a6685b;
$custom-dark: #000000;
JSON
{
  "hex": "#792b1f",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 31
  },
  "hsl": {
    "h": 8,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40183,
    "c": 0.11176,
    "h": 31.2
  },
  "luminance": 0.05892
}

Semantic roles & 50–950 ramp

primary
#792B1F
secondary
#479FAC
accent
#CDE245
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #792B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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