#792A1F#792A1F

#792A1F is a dark, moderate red. Relative luminance 0.058; OKLCH L 40.0% C 0.113 H 30.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#792A1F
RGBrgb(121, 42, 31)
HSLhsl(7, 59%, 30%)
HSVhsv(7, 74%, 47%)
CMYKcmyk(0%, 65.3%, 74.4%, 52.5%)
CIE-LABlab(28.96, 33.79, 25.20)
CIE-LCHlch(28.96, 42.16, 36.72°)
OKLaboklab(40.04% 0.0971 0.0574)
OKLCHoklch(40.04% 0.113 30.6)
XYZxyz(8.9614, 5.8211, 1.9478)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A1F #1F6E79
analogous
#791F41 #792A1F #79571F
triadic
#792A1F #1F792A #2A1F79
tetradic
#792A1F #41791F #1F6E79 #571F79
square
#792A1F #41791F #1F6E79 #571F79
split-complementary
#792A1F #1F7957 #1F4179
monochromatic
#180806 #481913 #792A1F #AA3B2B #CF5443

Accessibility & contrast

On white

9.70
#792A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792A1F
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792A1F#FFFFFF#000000##FFFFFF
##792A1F1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40391D
Deuteranopia (green-blind)
#534B1D
Tritanopia (blue-blind)
#851728
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #792a1f;
/* rgb */ color: rgb(121, 42, 31);
/* oklch */ color: oklch(40.0% 0.113 30.6);
Tailwind
colors: {
  custom: {
    50: '#a6675b',
    500: '#792a1f',
    950: '#000000',
  },
}
SCSS
$custom: #792a1f;
$custom-light: #a6675b;
$custom-dark: #000000;
JSON
{
  "hex": "#792a1f",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 31
  },
  "hsl": {
    "h": 7.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40045,
    "c": 0.11284,
    "h": 30.6
  },
  "luminance": 0.0582
}

Semantic roles & 50–950 ramp

primary
#792A1F
secondary
#47A0AC
accent
#CFE245
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #792A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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