#791917#791917

#791917 is a dark, vivid red. Relative luminance 0.048; OKLCH L 38.0% C 0.131 H 27.0°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#791917
RGBrgb(121, 25, 23)
HSLhsl(1, 68%, 28%)
HSVhsv(1, 81%, 47%)
CMYKcmyk(0%, 79.3%, 81%, 52.5%)
CIE-LABlab(26.23, 40.61, 27.09)
CIE-LCHlch(26.23, 48.82, 33.71°)
OKLaboklab(37.97% 0.1167 0.0594)
OKLCHoklch(37.97% 0.131 27)
XYZxyz(8.3884, 4.8234, 1.2998)
Luminance0.0482 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791917 #177779
analogous
#791746 #791917 #794A17
triadic
#791917 #177919 #191779
tetradic
#791917 #467917 #177779 #4A1779
square
#791917 #467917 #177779 #4A1779
split-complementary
#791917 #17794A #174679
monochromatic
#1A0505 #460E0D #791917 #AC2421 #D83632

Accessibility & contrast

On white

10.69
#791917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#791917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791917
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791917#FFFFFF#000000##FFFFFF
##7919171.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373116
Deuteranopia (green-blind)
#4E4613
Tritanopia (blue-blind)
#86001A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #791917;
/* rgb */ color: rgb(121, 25, 23);
/* oklch */ color: oklch(38.0% 0.131 27.0);
Tailwind
colors: {
  custom: {
    50: '#a85f54',
    500: '#791917',
    950: '#000000',
  },
}
SCSS
$custom: #791917;
$custom-light: #a85f54;
$custom-dark: #000000;
JSON
{
  "hex": "#791917",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 23
  },
  "hsl": {
    "h": 1.224,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37968,
    "c": 0.131,
    "h": 27
  },
  "luminance": 0.04822
}

Semantic roles & 50–950 ramp

primary
#791917
secondary
#3EACAE
accent
#E7EB3D
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110503
muted
#807978

Preview Lab

Preview with #791917

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

Preview Lab → · Contrast checker → · Palette generator →

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