#792017#792017

#792017 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.7% C 0.125 H 29.6°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#792017
RGBrgb(121, 32, 23)
HSLhsl(6, 68%, 28%)
HSVhsv(6, 81%, 47%)
CMYKcmyk(0%, 73.6%, 81%, 52.5%)
CIE-LABlab(27.19, 37.94, 28.10)
CIE-LCHlch(27.19, 47.21, 36.53°)
OKLaboklab(38.69% 0.1084 0.0616)
OKLCHoklch(38.69% 0.125 29.6)
XYZxyz(8.5573, 5.1611, 1.3561)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792017 #177079
analogous
#79173F #792017 #795117
triadic
#792017 #177920 #201779
tetradic
#792017 #3F7917 #177079 #511779
square
#792017 #3F7917 #177079 #511779
split-complementary
#792017 #177951 #173F79
monochromatic
#1A0705 #46120D #792017 #AC2E21 #D84232

Accessibility & contrast

On white

10.33
#792017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#792017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792017
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792017#FFFFFF#000000##FFFFFF
##7920171.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3415
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#86001F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #792017;
/* rgb */ color: rgb(121, 32, 23);
/* oklch */ color: oklch(38.7% 0.125 29.6);
Tailwind
colors: {
  custom: {
    50: '#a76255',
    500: '#792017',
    950: '#000000',
  },
}
SCSS
$custom: #792017;
$custom-light: #a76255;
$custom-dark: #000000;
JSON
{
  "hex": "#792017",
  "rgb": {
    "r": 121,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 5.51,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38687,
    "c": 0.12466,
    "h": 29.6
  },
  "luminance": 0.0516
}

Semantic roles & 50–950 ramp

primary
#792017
secondary
#3EA4AE
accent
#DBEB3D
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110503
muted
#807A78

Preview Lab

Preview with #792017

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

Preview Lab → · Contrast checker → · Palette generator →

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