#792F17#792F17

#792F17 is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.7% C 0.110 H 38.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#792F17
RGBrgb(121, 47, 23)
HSLhsl(15, 68%, 28%)
HSVhsv(15, 81%, 47%)
CMYKcmyk(0%, 61.2%, 81%, 52.5%)
CIE-LABlab(29.82, 30.90, 30.81)
CIE-LCHlch(29.82, 43.63, 44.91°)
OKLaboklab(40.66% 0.0865 0.0675)
OKLCHoklch(40.66% 0.11 38)
XYZxyz(9.0573, 6.1611, 1.5227)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F17 #176179
analogous
#791730 #792F17 #796017
triadic
#792F17 #17792F #2F1779
tetradic
#792F17 #307917 #176179 #601779
square
#792F17 #307917 #176179 #601779
split-complementary
#792F17 #177960 #173079
monochromatic
#1A0A05 #461B0D #792F17 #AC4321 #D85B32

Accessibility & contrast

On white

9.41
#792F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#792F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F17
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F17#FFFFFF#000000##FFFFFF
##792F171.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C14
Deuteranopia (green-blind)
#564C15
Tritanopia (blue-blind)
#851E2A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #792f17;
/* rgb */ color: rgb(121, 47, 23);
/* oklch */ color: oklch(40.7% 0.110 38.0);
Tailwind
colors: {
  custom: {
    50: '#a66a56',
    500: '#792f17',
    950: '#000000',
  },
}
SCSS
$custom: #792f17;
$custom-light: #a66a56;
$custom-dark: #000000;
JSON
{
  "hex": "#792f17",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 23
  },
  "hsl": {
    "h": 14.694,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40663,
    "c": 0.10974,
    "h": 38
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#792F17
secondary
#3E93AE
accent
#C0EB3D
background
#FBF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #792F17

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

Preview Lab → · Contrast checker → · Palette generator →

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