#791B1F#791B1F

#791B1F is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.128 H 23.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#791B1F
RGBrgb(121, 27, 31)
HSLhsl(357, 64%, 29%)
HSVhsv(357, 78%, 47%)
CMYKcmyk(0%, 77.7%, 74.4%, 52.5%)
CIE-LABlab(26.59, 40.25, 22.46)
CIE-LCHlch(26.59, 46.09, 29.16°)
OKLaboklab(38.27% 0.1175 0.0514)
OKLCHoklch(38.27% 0.128 23.6)
XYZxyz(8.5254, 4.9490, 1.8024)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B1F #1B7975
analogous
#791B4E #791B1F #79461B
triadic
#791B1F #1F791B #1B1F79
tetradic
#791B1F #4E791B #1B7975 #461B79
square
#791B1F #4E791B #1B7975 #461B79
split-complementary
#791B1F #1B7946 #1B4E79
monochromatic
#190606 #471012 #791B1F #AB262C #D33B42

Accessibility & contrast

On white

10.55
#791B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#791B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791B1F
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B1F#FFFFFF#000000##FFFFFF
##791B1F1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791b1f;
/* rgb */ color: rgb(121, 27, 31);
/* oklch */ color: oklch(38.3% 0.128 23.6);
Tailwind
colors: {
  custom: {
    50: '#a7605a',
    500: '#791b1f',
    950: '#000000',
  },
}
SCSS
$custom: #791b1f;
$custom-light: #a7605a;
$custom-dark: #000000;
JSON
{
  "hex": "#791b1f",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 31
  },
  "hsl": {
    "h": 357.447,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38273,
    "c": 0.12822,
    "h": 23.6
  },
  "luminance": 0.04948
}

Semantic roles & 50–950 ramp

primary
#791B1F
secondary
#43ADA9
accent
#E7E041
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #791B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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