#791E1F#791E1F

#791E1F is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.6% C 0.125 H 24.7°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#791E1F
RGBrgb(121, 30, 31)
HSLhsl(359, 60%, 30%)
HSVhsv(359, 75%, 47%)
CMYKcmyk(0%, 75.2%, 74.4%, 52.5%)
CIE-LABlab(27.00, 39.10, 22.94)
CIE-LCHlch(27.00, 45.34, 30.40°)
OKLaboklab(38.58% 0.1138 0.0525)
OKLCHoklch(38.58% 0.125 24.7)
XYZxyz(8.5977, 5.0937, 1.8265)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E1F #1E7978
analogous
#791E4C #791E1F #794B1E
triadic
#791E1F #1F791E #1E1F79
tetradic
#791E1F #4C791E #1E7978 #4B1E79
square
#791E1F #4C791E #1E7978 #4B1E79
split-complementary
#791E1F #1E794B #1E4C79
monochromatic
#190606 #481212 #791E1F #AA2A2C #D04143

Accessibility & contrast

On white

10.40
#791E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#791E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E1F
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E1F#FFFFFF#000000##FFFFFF
##791E1F1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791e1f;
/* rgb */ color: rgb(121, 30, 31);
/* oklch */ color: oklch(38.6% 0.125 24.7);
Tailwind
colors: {
  custom: {
    50: '#a7615a',
    500: '#791e1f',
    950: '#000000',
  },
}
SCSS
$custom: #791e1f;
$custom-light: #a7615a;
$custom-dark: #000000;
JSON
{
  "hex": "#791e1f",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 31
  },
  "hsl": {
    "h": 359.341,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38579,
    "c": 0.12535,
    "h": 24.7
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#791E1F
secondary
#46ADAB
accent
#E3E244
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #791E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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