#792117#792117

#792117 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.8% C 0.124 H 30.1°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#792117
RGBrgb(121, 33, 23)
HSLhsl(6, 68%, 28%)
HSVhsv(6, 81%, 47%)
CMYKcmyk(0%, 72.7%, 81%, 52.5%)
CIE-LABlab(27.34, 37.52, 28.26)
CIE-LCHlch(27.34, 46.97, 36.99°)
OKLaboklab(38.8% 0.1071 0.062)
OKLCHoklch(38.8% 0.124 30.1)
XYZxyz(8.5847, 5.2158, 1.3652)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792117 #176F79
analogous
#79173E #792117 #795217
triadic
#792117 #177921 #211779
tetradic
#792117 #3E7917 #176F79 #521779
square
#792117 #3E7917 #176F79 #521779
split-complementary
#792117 #177952 #173E79
monochromatic
#1A0705 #46130D #792117 #AC2F21 #D84332

Accessibility & contrast

On white

10.28
#792117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#792117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792117
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792117#FFFFFF#000000##FFFFFF
##7921171.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3415
Deuteranopia (green-blind)
#514813
Tritanopia (blue-blind)
#86011F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #792117;
/* rgb */ color: rgb(121, 33, 23);
/* oklch */ color: oklch(38.8% 0.124 30.1);
Tailwind
colors: {
  custom: {
    50: '#a76255',
    500: '#792117',
    950: '#000000',
  },
}
SCSS
$custom: #792117;
$custom-light: #a76255;
$custom-dark: #000000;
JSON
{
  "hex": "#792117",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 23
  },
  "hsl": {
    "h": 6.122,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.388,
    "c": 0.12371,
    "h": 30.1
  },
  "luminance": 0.05215
}

Semantic roles & 50–950 ramp

primary
#792117
secondary
#3EA3AE
accent
#D9EB3D
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110503
muted
#807A78

Preview Lab

Preview with #792117

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

Preview Lab → · Contrast checker → · Palette generator →

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