#791A18#791A18

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

Color values

HEX#791A18
RGBrgb(121, 26, 24)
HSLhsl(1, 67%, 28%)
HSVhsv(1, 80%, 47%)
CMYKcmyk(0%, 78.5%, 80.2%, 52.5%)
CIE-LABlab(26.36, 40.29, 26.63)
CIE-LCHlch(26.36, 48.30, 33.46°)
OKLaboklab(38.07% 0.116 0.0587)
OKLCHoklch(38.07% 0.13 26.9)
XYZxyz(8.4204, 4.8710, 1.3608)
Luminance0.0487 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A18 #187779
analogous
#791846 #791A18 #794A18
triadic
#791A18 #18791A #1A1879
tetradic
#791A18 #467918 #187779 #4A1879
square
#791A18 #467918 #187779 #4A1879
split-complementary
#791A18 #18794A #184679
monochromatic
#1A0505 #460F0E #791A18 #AC2522 #D73835

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##791A18#FFFFFF#000000##FFFFFF
##791A181.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)
#373117
Deuteranopia (green-blind)
#4E4614
Tritanopia (blue-blind)
#86001B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #791a18;
/* rgb */ color: rgb(121, 26, 24);
/* oklch */ color: oklch(38.1% 0.130 26.9);
Tailwind
colors: {
  custom: {
    50: '#a75f55',
    500: '#791a18',
    950: '#000000',
  },
}
SCSS
$custom: #791a18;
$custom-light: #a75f55;
$custom-dark: #000000;
JSON
{
  "hex": "#791a18",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 24
  },
  "hsl": {
    "h": 1.237,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38075,
    "c": 0.13,
    "h": 26.9
  },
  "luminance": 0.0487
}

Semantic roles & 50–950 ramp

primary
#791A18
secondary
#3FACAE
accent
#E6EA3E
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#110503
muted
#807978

Preview Lab

Preview with #791A18

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

Preview Lab → · Contrast checker → · Palette generator →

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