#792917#792917

#792917 is a dark, moderate red. Relative luminance 0.057; OKLCH L 39.8% C 0.116 H 34.1°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#792917
RGBrgb(121, 41, 23)
HSLhsl(11, 68%, 28%)
HSVhsv(11, 81%, 47%)
CMYKcmyk(0%, 66.1%, 81%, 52.5%)
CIE-LABlab(28.68, 33.90, 29.65)
CIE-LCHlch(28.68, 45.04, 41.17°)
OKLaboklab(39.81% 0.0958 0.065)
OKLCHoklch(39.81% 0.116 34.1)
XYZxyz(8.8337, 5.7140, 1.4482)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792917 #176779
analogous
#791736 #792917 #795A17
triadic
#792917 #177929 #291779
tetradic
#792917 #367917 #176779 #5A1779
square
#792917 #367917 #176779 #5A1779
split-complementary
#792917 #17795A #173679
monochromatic
#1A0905 #46180D #792917 #AC3A21 #D85132

Accessibility & contrast

On white

9.80
#792917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#792917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792917
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792917#FFFFFF#000000##FFFFFF
##7929171.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403814
Deuteranopia (green-blind)
#534A14
Tritanopia (blue-blind)
#861425
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #792917;
/* rgb */ color: rgb(121, 41, 23);
/* oklch */ color: oklch(39.8% 0.116 34.1);
Tailwind
colors: {
  custom: {
    50: '#a76755',
    500: '#792917',
    950: '#000000',
  },
}
SCSS
$custom: #792917;
$custom-light: #a76755;
$custom-dark: #000000;
JSON
{
  "hex": "#792917",
  "rgb": {
    "r": 121,
    "g": 41,
    "b": 23
  },
  "hsl": {
    "h": 11.02,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39805,
    "c": 0.11576,
    "h": 34.1
  },
  "luminance": 0.05713
}

Semantic roles & 50–950 ramp

primary
#792917
secondary
#3E99AE
accent
#CBEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #792917

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

Preview Lab → · Contrast checker → · Palette generator →

#792917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva