#792F23#792F23

#792F23 is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.8% C 0.106 H 31.3°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#792F23
RGBrgb(121, 47, 35)
HSLhsl(8, 55%, 31%)
HSVhsv(8, 71%, 47%)
CMYKcmyk(0%, 61.2%, 71.1%, 52.5%)
CIE-LABlab(29.96, 31.51, 23.91)
CIE-LCHlch(29.96, 39.56, 37.19°)
OKLaboklab(40.82% 0.0909 0.0554)
OKLCHoklch(40.82% 0.106 31.3)
XYZxyz(9.2060, 6.2205, 2.3057)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F23 #236D79
analogous
#792342 #792F23 #795A23
triadic
#792F23 #23792F #2F2379
tetradic
#792F23 #427923 #236D79 #5A2379
square
#792F23 #427923 #236D79 #5A2379
split-complementary
#792F23 #23795A #234279
monochromatic
#1A0A08 #4A1D15 #792F23 #A84131 #CB5D4B

Accessibility & contrast

On white

9.36
#792F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#792F23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F23
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F23#FFFFFF#000000##FFFFFF
##792F231.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C21
Deuteranopia (green-blind)
#554D21
Tritanopia (blue-blind)
#851F2C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #792f23;
/* rgb */ color: rgb(121, 47, 35);
/* oklch */ color: oklch(40.8% 0.106 31.3);
Tailwind
colors: {
  custom: {
    50: '#a56a5e',
    500: '#792f23',
    950: '#000000',
  },
}
SCSS
$custom: #792f23;
$custom-light: #a56a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#792f23",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 35
  },
  "hsl": {
    "h": 8.372,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40821,
    "c": 0.1064,
    "h": 31.3
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

primary
#792F23
secondary
#4C9EAC
accent
#CADE49
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100704
muted
#7F7A79

Preview Lab

Preview with #792F23

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

Preview Lab → · Contrast checker → · Palette generator →

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