#791F18#791F18

#791F18 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.6% C 0.125 H 28.7°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#791F18
RGBrgb(121, 31, 24)
HSLhsl(4, 67%, 28%)
HSVhsv(4, 80%, 47%)
CMYKcmyk(0%, 74.4%, 80.2%, 52.5%)
CIE-LABlab(27.05, 38.39, 27.36)
CIE-LCHlch(27.05, 47.14, 35.48°)
OKLaboklab(38.59% 0.11 0.0603)
OKLCHoklch(38.59% 0.125 28.7)
XYZxyz(8.5410, 5.1122, 1.4010)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F18 #187279
analogous
#791841 #791F18 #794F18
triadic
#791F18 #18791F #1F1879
tetradic
#791F18 #417918 #187279 #4F1879
square
#791F18 #417918 #187279 #4F1879
split-complementary
#791F18 #18794F #184179
monochromatic
#1A0705 #46120E #791F18 #AC2C22 #D74035

Accessibility & contrast

On white

10.38
#791F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#791F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F18
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F18#FFFFFF#000000##FFFFFF
##791F181.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3316
Deuteranopia (green-blind)
#504714
Tritanopia (blue-blind)
#86001E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #791f18;
/* rgb */ color: rgb(121, 31, 24);
/* oklch */ color: oklch(38.6% 0.125 28.7);
Tailwind
colors: {
  custom: {
    50: '#a76255',
    500: '#791f18',
    950: '#000000',
  },
}
SCSS
$custom: #791f18;
$custom-light: #a76255;
$custom-dark: #000000;
JSON
{
  "hex": "#791f18",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 24
  },
  "hsl": {
    "h": 4.33,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38588,
    "c": 0.12544,
    "h": 28.7
  },
  "luminance": 0.05111
}

Semantic roles & 50–950 ramp

primary
#791F18
secondary
#3FA6AE
accent
#DDEA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78

Preview Lab

Preview with #791F18

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

Preview Lab → · Contrast checker → · Palette generator →

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