#791D1B#791D1B

#791D1B is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.4% C 0.127 H 26.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#791D1B
RGBrgb(121, 29, 27)
HSLhsl(1, 64%, 29%)
HSVhsv(1, 78%, 47%)
CMYKcmyk(0%, 76%, 77.7%, 52.5%)
CIE-LABlab(26.80, 39.30, 25.25)
CIE-LCHlch(26.80, 46.71, 32.72°)
OKLaboklab(38.41% 0.1135 0.0566)
OKLCHoklch(38.41% 0.127 26.5)
XYZxyz(8.5233, 5.0241, 1.5577)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791D1B #1B7779
analogous
#791B48 #791D1B #794C1B
triadic
#791D1B #1B791D #1D1B79
tetradic
#791D1B #48791B #1B7779 #4C1B79
square
#791D1B #48791B #1B7779 #4C1B79
split-complementary
#791D1B #1B794C #1B4879
monochromatic
#190606 #471110 #791D1B #AB2926 #D33E3B

Accessibility & contrast

On white

10.48
#791D1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#791D1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791D1B
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791D1B#FFFFFF#000000##FFFFFF
##791D1B1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331A
Deuteranopia (green-blind)
#4F4718
Tritanopia (blue-blind)
#86001E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #791d1b;
/* rgb */ color: rgb(121, 29, 27);
/* oklch */ color: oklch(38.4% 0.127 26.5);
Tailwind
colors: {
  custom: {
    50: '#a76157',
    500: '#791d1b',
    950: '#000000',
  },
}
SCSS
$custom: #791d1b;
$custom-light: #a76157;
$custom-dark: #000000;
JSON
{
  "hex": "#791d1b",
  "rgb": {
    "r": 121,
    "g": 29,
    "b": 27
  },
  "hsl": {
    "h": 1.277,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38414,
    "c": 0.12685,
    "h": 26.5
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#791D1B
secondary
#43ABAD
accent
#E3E741
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #791D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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