#791D1F#791D1F

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

Color values

HEX#791D1F
RGBrgb(121, 29, 31)
HSLhsl(359, 61%, 29%)
HSVhsv(359, 76%, 47%)
CMYKcmyk(0%, 76%, 74.4%, 52.5%)
CIE-LABlab(26.86, 39.49, 22.78)
CIE-LCHlch(26.86, 45.59, 29.97°)
OKLaboklab(38.47% 0.1151 0.0521)
OKLCHoklch(38.47% 0.126 24.4)
XYZxyz(8.5728, 5.0439, 1.8182)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791D1F #1D7977
analogous
#791D4D #791D1F #79491D
triadic
#791D1F #1F791D #1D1F79
tetradic
#791D1F #4D791D #1D7977 #491D79
square
#791D1F #4D791D #1D7977 #491D79
split-complementary
#791D1F #1D7949 #1D4D79
monochromatic
#190606 #481112 #791D1F #AA292C #D13F43

Accessibility & contrast

On white

10.46
#791D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791D1F
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791D1F#FFFFFF#000000##FFFFFF
##791D1F1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791d1f;
/* rgb */ color: rgb(121, 29, 31);
/* oklch */ color: oklch(38.5% 0.126 24.4);
Tailwind
colors: {
  custom: {
    50: '#a7615a',
    500: '#791d1f',
    950: '#000000',
  },
}
SCSS
$custom: #791d1f;
$custom-light: #a7615a;
$custom-dark: #000000;
JSON
{
  "hex": "#791d1f",
  "rgb": {
    "r": 121,
    "g": 29,
    "b": 31
  },
  "hsl": {
    "h": 358.696,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38474,
    "c": 0.12632,
    "h": 24.4
  },
  "luminance": 0.05043
}

Semantic roles & 50–950 ramp

primary
#791D1F
secondary
#45ADAB
accent
#E4E143
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #791D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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