#791A17#791A17

#791A17 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.1% C 0.130 H 27.3°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#791A17
RGBrgb(121, 26, 23)
HSLhsl(2, 68%, 28%)
HSVhsv(2, 81%, 47%)
CMYKcmyk(0%, 78.5%, 81%, 52.5%)
CIE-LABlab(26.35, 40.25, 27.23)
CIE-LCHlch(26.35, 48.60, 34.07°)
OKLaboklab(38.06% 0.1156 0.0597)
OKLCHoklch(38.06% 0.13 27.3)
XYZxyz(8.4102, 4.8669, 1.3070)
Luminance0.0487 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A17 #177679
analogous
#791745 #791A17 #794B17
triadic
#791A17 #17791A #1A1779
tetradic
#791A17 #457917 #177679 #4B1779
square
#791A17 #457917 #177679 #4B1779
split-complementary
#791A17 #17794B #174579
monochromatic
#1A0605 #460F0D #791A17 #AC2521 #D83732

Accessibility & contrast

On white

10.64
#791A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#791A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791A17
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A17#FFFFFF#000000##FFFFFF
##791A171.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791a17;
/* rgb */ color: rgb(121, 26, 23);
/* oklch */ color: oklch(38.1% 0.130 27.3);
Tailwind
colors: {
  custom: {
    50: '#a85f54',
    500: '#791a17',
    950: '#000000',
  },
}
SCSS
$custom: #791a17;
$custom-light: #a85f54;
$custom-dark: #000000;
JSON
{
  "hex": "#791a17",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 23
  },
  "hsl": {
    "h": 1.837,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38062,
    "c": 0.13014,
    "h": 27.3
  },
  "luminance": 0.04866
}

Semantic roles & 50–950 ramp

primary
#791A17
secondary
#3EABAE
accent
#E6EB3D
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110503
muted
#807978

Preview Lab

Preview with #791A17

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

Preview Lab → · Contrast checker → · Palette generator →

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