#792417#792417

#792417 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.2% C 0.121 H 31.5°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#792417
RGBrgb(121, 36, 23)
HSLhsl(8, 68%, 28%)
HSVhsv(8, 81%, 47%)
CMYKcmyk(0%, 70.2%, 81%, 52.5%)
CIE-LABlab(27.82, 36.22, 28.76)
CIE-LCHlch(27.82, 46.25, 38.45°)
OKLaboklab(39.16% 0.103 0.0631)
OKLCHoklch(39.16% 0.121 31.5)
XYZxyz(8.6717, 5.3899, 1.3942)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792417 #176C79
analogous
#79173B #792417 #795517
triadic
#792417 #177924 #241779
tetradic
#792417 #3B7917 #176C79 #551779
square
#792417 #3B7917 #176C79 #551779
split-complementary
#792417 #177955 #173B79
monochromatic
#1A0805 #46150D #792417 #AC3321 #D84832

Accessibility & contrast

On white

10.11
#792417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#792417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792417
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792417#FFFFFF#000000##FFFFFF
##7924171.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3615
Deuteranopia (green-blind)
#524914
Tritanopia (blue-blind)
#860922
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #792417;
/* rgb */ color: rgb(121, 36, 23);
/* oklch */ color: oklch(39.2% 0.121 31.5);
Tailwind
colors: {
  custom: {
    50: '#a76455',
    500: '#792417',
    950: '#000000',
  },
}
SCSS
$custom: #792417;
$custom-light: #a76455;
$custom-dark: #000000;
JSON
{
  "hex": "#792417",
  "rgb": {
    "r": 121,
    "g": 36,
    "b": 23
  },
  "hsl": {
    "h": 7.959,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39158,
    "c": 0.12077,
    "h": 31.5
  },
  "luminance": 0.05389
}

Semantic roles & 50–950 ramp

primary
#792417
secondary
#3E9FAE
accent
#D4EB3D
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110603
muted
#807A78

Preview Lab

Preview with #792417

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

Preview Lab → · Contrast checker → · Palette generator →

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