#792717#792717

#792717 is a dark, moderate red. Relative luminance 0.056; OKLCH L 39.5% C 0.118 H 33.0°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#792717
RGBrgb(121, 39, 23)
HSLhsl(10, 68%, 28%)
HSVhsv(10, 81%, 47%)
CMYKcmyk(0%, 67.8%, 81%, 52.5%)
CIE-LABlab(28.32, 34.85, 29.28)
CIE-LCHlch(28.32, 45.52, 40.04°)
OKLaboklab(39.54% 0.0987 0.0642)
OKLCHoklch(39.54% 0.118 33)
XYZxyz(8.7663, 5.5791, 1.4257)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792717 #176979
analogous
#791738 #792717 #795817
triadic
#792717 #177927 #271779
tetradic
#792717 #387917 #176979 #581779
square
#792717 #387917 #176979 #581779
split-complementary
#792717 #177958 #173879
monochromatic
#1A0805 #46160D #792717 #AC3821 #D84D32

Accessibility & contrast

On white

9.93
#792717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#792717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792717
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792717#FFFFFF#000000##FFFFFF
##7927171.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3715
Deuteranopia (green-blind)
#534A14
Tritanopia (blue-blind)
#861024
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #792717;
/* rgb */ color: rgb(121, 39, 23);
/* oklch */ color: oklch(39.5% 0.118 33.0);
Tailwind
colors: {
  custom: {
    50: '#a76655',
    500: '#792717',
    950: '#000000',
  },
}
SCSS
$custom: #792717;
$custom-light: #a76655;
$custom-dark: #000000;
JSON
{
  "hex": "#792717",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 23
  },
  "hsl": {
    "h": 9.796,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39539,
    "c": 0.11777,
    "h": 33
  },
  "luminance": 0.05578
}

Semantic roles & 50–950 ramp

primary
#792717
secondary
#3E9CAE
accent
#CFEB3D
background
#FBF6F5
surface
#F6EBE8
border
#D0C6C4
text
#110603
muted
#807A78

Preview Lab

Preview with #792717

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

Preview Lab → · Contrast checker → · Palette generator →

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