#791E17#791E17

#791E17 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.5% C 0.127 H 28.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#791E17
RGBrgb(121, 30, 23)
HSLhsl(4, 68%, 28%)
HSVhsv(4, 81%, 47%)
CMYKcmyk(0%, 75.2%, 81%, 52.5%)
CIE-LABlab(26.90, 38.75, 27.80)
CIE-LCHlch(26.90, 47.69, 35.66°)
OKLaboklab(38.47% 0.1109 0.061)
OKLCHoklch(38.47% 0.127 28.8)
XYZxyz(8.5051, 5.0567, 1.3386)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E17 #177279
analogous
#791741 #791E17 #794F17
triadic
#791E17 #17791E #1E1779
tetradic
#791E17 #417917 #177279 #4F1779
square
#791E17 #417917 #177279 #4F1779
split-complementary
#791E17 #17794F #174179
monochromatic
#1A0605 #46110D #791E17 #AC2B21 #D83E32

Accessibility & contrast

On white

10.44
#791E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#791E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E17
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E17#FFFFFF#000000##FFFFFF
##791E171.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393315
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#86001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #791e17;
/* rgb */ color: rgb(121, 30, 23);
/* oklch */ color: oklch(38.5% 0.127 28.8);
Tailwind
colors: {
  custom: {
    50: '#a76155',
    500: '#791e17',
    950: '#000000',
  },
}
SCSS
$custom: #791e17;
$custom-light: #a76155;
$custom-dark: #000000;
JSON
{
  "hex": "#791e17",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 23
  },
  "hsl": {
    "h": 4.286,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38467,
    "c": 0.12654,
    "h": 28.8
  },
  "luminance": 0.05055
}

Semantic roles & 50–950 ramp

primary
#791E17
secondary
#3EA6AE
accent
#DEEB3D
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110503
muted
#807A78

Preview Lab

Preview with #791E17

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

Preview Lab → · Contrast checker → · Palette generator →

#791E17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva