#791E1B#791E1B

#791E1B is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.5% C 0.126 H 26.9°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#791E1B
RGBrgb(121, 30, 27)
HSLhsl(2, 64%, 29%)
HSVhsv(2, 78%, 47%)
CMYKcmyk(0%, 75.2%, 77.7%, 52.5%)
CIE-LABlab(26.94, 38.91, 25.40)
CIE-LCHlch(26.94, 46.47, 33.14°)
OKLaboklab(38.52% 0.1123 0.0569)
OKLCHoklch(38.52% 0.126 26.9)
XYZxyz(8.5482, 5.0739, 1.5660)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E1B #1B7679
analogous
#791B47 #791E1B #794D1B
triadic
#791E1B #1B791E #1E1B79
tetradic
#791E1B #47791B #1B7679 #4D1B79
square
#791E1B #47791B #1B7679 #4D1B79
split-complementary
#791E1B #1B794D #1B4779
monochromatic
#190606 #471210 #791E1B #AB2A26 #D3403B

Accessibility & contrast

On white

10.42
#791E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#791E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E1B
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E1B#FFFFFF#000000##FFFFFF
##791E1B1.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39331A
Deuteranopia (green-blind)
#4F4718
Tritanopia (blue-blind)
#86001E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #791e1b;
/* rgb */ color: rgb(121, 30, 27);
/* oklch */ color: oklch(38.5% 0.126 26.9);
Tailwind
colors: {
  custom: {
    50: '#a76157',
    500: '#791e1b',
    950: '#000000',
  },
}
SCSS
$custom: #791e1b;
$custom-light: #a76157;
$custom-dark: #000000;
JSON
{
  "hex": "#791e1b",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 27
  },
  "hsl": {
    "h": 1.915,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38519,
    "c": 0.12591,
    "h": 26.9
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

primary
#791E1B
secondary
#43AAAD
accent
#E1E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78

Preview Lab

Preview with #791E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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