#791717#791717

#791717 is a dark, vivid red. Relative luminance 0.047; OKLCH L 37.8% C 0.133 H 26.3°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#791717
RGBrgb(121, 23, 23)
HSLhsl(0, 68%, 28%)
HSVhsv(0, 81%, 47%)
CMYKcmyk(0%, 81%, 81%, 52.5%)
CIE-LABlab(25.98, 41.28, 26.84)
CIE-LCHlch(25.98, 49.24, 33.03°)
OKLaboklab(37.79% 0.1189 0.0589)
OKLCHoklch(37.79% 0.133 26.3)
XYZxyz(8.3472, 4.7409, 1.2860)
Luminance0.0474 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791717 #177979
analogous
#791748 #791717 #794817
triadic
#791717 #177917 #171779
tetradic
#791717 #487917 #177979 #481779
square
#791717 #487917 #177979 #481779
split-complementary
#791717 #177948 #174879
monochromatic
#1A0505 #460D0D #791717 #AC2121 #D83232

Accessibility & contrast

On white

10.78
#791717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#791717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791717
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791717#FFFFFF#000000##FFFFFF
##7917171.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363016
Deuteranopia (green-blind)
#4E4513
Tritanopia (blue-blind)
#860019
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #791717;
/* rgb */ color: rgb(121, 23, 23);
/* oklch */ color: oklch(37.8% 0.133 26.3);
Tailwind
colors: {
  custom: {
    50: '#a85e54',
    500: '#791717',
    950: '#000000',
  },
}
SCSS
$custom: #791717;
$custom-light: #a85e54;
$custom-dark: #000000;
JSON
{
  "hex": "#791717",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 23
  },
  "hsl": {
    "h": 0,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37788,
    "c": 0.13266,
    "h": 26.3
  },
  "luminance": 0.0474
}

Semantic roles & 50–950 ramp

primary
#791717
secondary
#3EAEAE
accent
#EBEB3D
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110503
muted
#807978

Preview Lab

Preview with #791717

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

Preview Lab → · Contrast checker → · Palette generator →

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