#792B17#792B17

#792B17 is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.1% C 0.114 H 35.3°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#792B17
RGBrgb(121, 43, 23)
HSLhsl(12, 68%, 28%)
HSVhsv(12, 81%, 47%)
CMYKcmyk(0%, 64.5%, 81%, 52.5%)
CIE-LABlab(29.05, 32.93, 30.02)
CIE-LCHlch(29.05, 44.56, 42.36°)
OKLaboklab(40.08% 0.0928 0.0658)
OKLCHoklch(40.08% 0.114 35.3)
XYZxyz(8.9047, 5.8558, 1.4718)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B17 #176579
analogous
#791734 #792B17 #795C17
triadic
#792B17 #17792B #2B1779
tetradic
#792B17 #347917 #176579 #5C1779
square
#792B17 #347917 #176579 #5C1779
split-complementary
#792B17 #17795C #173479
monochromatic
#1A0905 #46190D #792B17 #AC3D21 #D85432

Accessibility & contrast

On white

9.67
#792B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#792B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B17
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B17#FFFFFF#000000##FFFFFF
##792B171.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A14
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#861727
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #792b17;
/* rgb */ color: rgb(121, 43, 23);
/* oklch */ color: oklch(40.1% 0.114 35.3);
Tailwind
colors: {
  custom: {
    50: '#a76855',
    500: '#792b17',
    950: '#000000',
  },
}
SCSS
$custom: #792b17;
$custom-light: #a76855;
$custom-dark: #000000;
JSON
{
  "hex": "#792b17",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 23
  },
  "hsl": {
    "h": 12.245,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40082,
    "c": 0.11374,
    "h": 35.3
  },
  "luminance": 0.05855
}

Semantic roles & 50–950 ramp

primary
#792B17
secondary
#3E97AE
accent
#C7EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #792B17

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

Preview Lab → · Contrast checker → · Palette generator →

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