#791C18#791C18

#791C18 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.3% C 0.128 H 27.6°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#791C18
RGBrgb(121, 28, 24)
HSLhsl(2, 67%, 28%)
HSVhsv(2, 80%, 47%)
CMYKcmyk(0%, 76.9%, 80.2%, 52.5%)
CIE-LABlab(26.63, 39.56, 26.91)
CIE-LCHlch(26.63, 47.84, 34.23°)
OKLaboklab(38.27% 0.1137 0.0593)
OKLCHoklch(38.27% 0.128 27.6)
XYZxyz(8.4663, 4.9627, 1.3761)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791C18 #187579
analogous
#791844 #791C18 #794C18
triadic
#791C18 #18791C #1C1879
tetradic
#791C18 #447918 #187579 #4C1879
square
#791C18 #447918 #187579 #4C1879
split-complementary
#791C18 #18794C #184479
monochromatic
#1A0605 #46100E #791C18 #AC2822 #D73B35

Accessibility & contrast

On white

10.54
#791C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#791C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791C18
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791C18#FFFFFF#000000##FFFFFF
##791C181.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383217
Deuteranopia (green-blind)
#4F4614
Tritanopia (blue-blind)
#86001C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #791c18;
/* rgb */ color: rgb(121, 28, 24);
/* oklch */ color: oklch(38.3% 0.128 27.6);
Tailwind
colors: {
  custom: {
    50: '#a76055',
    500: '#791c18',
    950: '#000000',
  },
}
SCSS
$custom: #791c18;
$custom-light: #a76055;
$custom-dark: #000000;
JSON
{
  "hex": "#791c18",
  "rgb": {
    "r": 121,
    "g": 28,
    "b": 24
  },
  "hsl": {
    "h": 2.474,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38272,
    "c": 0.12822,
    "h": 27.6
  },
  "luminance": 0.04961
}

Semantic roles & 50–950 ramp

primary
#791C18
secondary
#3FA9AE
accent
#E3EA3E
background
#FBF5F5
surface
#F6EAE8
border
#D0C6C4
text
#110503
muted
#807978

Preview Lab

Preview with #791C18

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

Preview Lab → · Contrast checker → · Palette generator →

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