#792317#792317

#792317 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.0% C 0.122 H 31.0°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#792317
RGBrgb(121, 35, 23)
HSLhsl(7, 68%, 28%)
HSVhsv(7, 81%, 47%)
CMYKcmyk(0%, 71.1%, 81%, 52.5%)
CIE-LABlab(27.66, 36.66, 28.59)
CIE-LCHlch(27.66, 46.49, 37.95°)
OKLaboklab(39.04% 0.1044 0.0627)
OKLCHoklch(39.04% 0.122 31)
XYZxyz(8.6418, 5.3302, 1.3842)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792317 #176D79
analogous
#79173C #792317 #795417
triadic
#792317 #177923 #231779
tetradic
#792317 #3C7917 #176D79 #541779
square
#792317 #3C7917 #176D79 #541779
split-complementary
#792317 #177954 #173C79
monochromatic
#1A0705 #46140D #792317 #AC3221 #D84732

Accessibility & contrast

On white

10.17
#792317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#792317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792317
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792317#FFFFFF#000000##FFFFFF
##7923171.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3515
Deuteranopia (green-blind)
#514814
Tritanopia (blue-blind)
#860621
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #792317;
/* rgb */ color: rgb(121, 35, 23);
/* oklch */ color: oklch(39.0% 0.122 31.0);
Tailwind
colors: {
  custom: {
    50: '#a76355',
    500: '#792317',
    950: '#000000',
  },
}
SCSS
$custom: #792317;
$custom-light: #a76355;
$custom-dark: #000000;
JSON
{
  "hex": "#792317",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 23
  },
  "hsl": {
    "h": 7.347,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39036,
    "c": 0.12175,
    "h": 31
  },
  "luminance": 0.05329
}

Semantic roles & 50–950 ramp

primary
#792317
secondary
#3EA0AE
accent
#D6EB3D
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110603
muted
#807A78

Preview Lab

Preview with #792317

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

Preview Lab → · Contrast checker → · Palette generator →

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