#791B17#791B17

#791B17 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.2% C 0.129 H 27.7°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#791B17
RGBrgb(121, 27, 23)
HSLhsl(2, 68%, 28%)
HSVhsv(2, 81%, 47%)
CMYKcmyk(0%, 77.7%, 81%, 52.5%)
CIE-LABlab(26.48, 39.89, 27.37)
CIE-LCHlch(26.48, 48.37, 34.45°)
OKLaboklab(38.16% 0.1145 0.06)
OKLCHoklch(38.16% 0.129 27.7)
XYZxyz(8.4327, 4.9120, 1.3145)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B17 #177579
analogous
#791744 #791B17 #794C17
triadic
#791B17 #17791B #1B1779
tetradic
#791B17 #447917 #177579 #4C1779
square
#791B17 #447917 #177579 #4C1779
split-complementary
#791B17 #17794C #174479
monochromatic
#1A0605 #46100D #791B17 #AC2621 #D83932

Accessibility & contrast

On white

10.59
#791B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#791B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791B17
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B17#FFFFFF#000000##FFFFFF
##791B171.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383215
Deuteranopia (green-blind)
#4F4613
Tritanopia (blue-blind)
#86001B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #791b17;
/* rgb */ color: rgb(121, 27, 23);
/* oklch */ color: oklch(38.2% 0.129 27.7);
Tailwind
colors: {
  custom: {
    50: '#a76054',
    500: '#791b17',
    950: '#000000',
  },
}
SCSS
$custom: #791b17;
$custom-light: #a76054;
$custom-dark: #000000;
JSON
{
  "hex": "#791b17",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 23
  },
  "hsl": {
    "h": 2.449,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38159,
    "c": 0.12926,
    "h": 27.7
  },
  "luminance": 0.04911
}

Semantic roles & 50–950 ramp

primary
#791B17
secondary
#3EA9AE
accent
#E4EB3D
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110503
muted
#807978

Preview Lab

Preview with #791B17

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

Preview Lab → · Contrast checker → · Palette generator →

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