#791B18#791B18

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

Color values

HEX#791B18
RGBrgb(121, 27, 24)
HSLhsl(2, 67%, 28%)
HSVhsv(2, 80%, 47%)
CMYKcmyk(0%, 77.7%, 80.2%, 52.5%)
CIE-LABlab(26.49, 39.93, 26.77)
CIE-LCHlch(26.49, 48.07, 33.84°)
OKLaboklab(38.17% 0.1148 0.059)
OKLCHoklch(38.17% 0.129 27.2)
XYZxyz(8.4430, 4.9161, 1.3683)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B18 #187679
analogous
#791845 #791B18 #794B18
triadic
#791B18 #18791B #1B1879
tetradic
#791B18 #457918 #187679 #4B1879
square
#791B18 #457918 #187679 #4B1879
split-complementary
#791B18 #18794B #184579
monochromatic
#1A0605 #46100E #791B18 #AC2622 #D73A35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##791B18#FFFFFF#000000##FFFFFF
##791B181.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)
#373217
Deuteranopia (green-blind)
#4F4614
Tritanopia (blue-blind)
#86001B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #791b18;
/* rgb */ color: rgb(121, 27, 24);
/* oklch */ color: oklch(38.2% 0.129 27.2);
Tailwind
colors: {
  custom: {
    50: '#a76055',
    500: '#791b18',
    950: '#000000',
  },
}
SCSS
$custom: #791b18;
$custom-light: #a76055;
$custom-dark: #000000;
JSON
{
  "hex": "#791b18",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 24
  },
  "hsl": {
    "h": 1.856,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38172,
    "c": 0.12911,
    "h": 27.2
  },
  "luminance": 0.04915
}

Semantic roles & 50–950 ramp

primary
#791B18
secondary
#3FAAAE
accent
#E4EA3E
background
#FBF5F5
surface
#F6EAE8
border
#D0C6C4
text
#110503
muted
#807978

Preview Lab

Preview with #791B18

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

Preview Lab → · Contrast checker → · Palette generator →

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