#791A1F#791A1F

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

Color values

HEX#791A1F
RGBrgb(121, 26, 31)
HSLhsl(357, 65%, 29%)
HSVhsv(357, 79%, 47%)
CMYKcmyk(0%, 78.5%, 74.4%, 52.5%)
CIE-LABlab(26.46, 40.61, 22.31)
CIE-LCHlch(26.46, 46.33, 28.78°)
OKLaboklab(38.18% 0.1186 0.0511)
OKLCHoklch(38.18% 0.129 23.3)
XYZxyz(8.5028, 4.9040, 1.7949)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A1F #1A7974
analogous
#791A4F #791A1F #79451A
triadic
#791A1F #1F791A #1A1F79
tetradic
#791A1F #4F791A #1A7974 #451A79
square
#791A1F #4F791A #1A7974 #451A79
split-complementary
#791A1F #1A7945 #1A4F79
monochromatic
#190506 #470F12 #791A1F #AB252C #D43941

Accessibility & contrast

On white

10.60
#791A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791A1F
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A1F#FFFFFF#000000##FFFFFF
##791A1F1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36321E
Deuteranopia (green-blind)
#4E461C
Tritanopia (blue-blind)
#86001D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #791a1f;
/* rgb */ color: rgb(121, 26, 31);
/* oklch */ color: oklch(38.2% 0.129 23.3);
Tailwind
colors: {
  custom: {
    50: '#a75f5a',
    500: '#791a1f',
    950: '#000000',
  },
}
SCSS
$custom: #791a1f;
$custom-light: #a75f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#791a1f",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 31
  },
  "hsl": {
    "h": 356.842,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38176,
    "c": 0.12914,
    "h": 23.3
  },
  "luminance": 0.04903
}

Semantic roles & 50–950 ramp

primary
#791A1F
secondary
#41ADA8
accent
#E8DF40
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #791A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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