#791B1E#791B1E

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

Color values

HEX#791B1E
RGBrgb(121, 27, 30)
HSLhsl(358, 64%, 29%)
HSVhsv(358, 78%, 47%)
CMYKcmyk(0%, 77.7%, 75.2%, 52.5%)
CIE-LABlab(26.57, 40.19, 23.08)
CIE-LCHlch(26.57, 46.35, 29.87°)
OKLaboklab(38.26% 0.1171 0.0526)
OKLCHoklch(38.26% 0.128 24.2)
XYZxyz(8.5124, 4.9439, 1.7341)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B1E #1B7976
analogous
#791B4D #791B1E #79471B
triadic
#791B1E #1E791B #1B1E79
tetradic
#791B1E #4D791B #1B7976 #471B79
square
#791B1E #4D791B #1B7976 #471B79
split-complementary
#791B1E #1B7947 #1B4D79
monochromatic
#190606 #471012 #791B1E #AB262A #D33B40

Accessibility & contrast

On white

10.56
#791B1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791B1E
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B1E#FFFFFF#000000##FFFFFF
##791B1E1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791b1e;
/* rgb */ color: rgb(121, 27, 30);
/* oklch */ color: oklch(38.3% 0.128 24.2);
Tailwind
colors: {
  custom: {
    50: '#a7605a',
    500: '#791b1e',
    950: '#000000',
  },
}
SCSS
$custom: #791b1e;
$custom-light: #a7605a;
$custom-dark: #000000;
JSON
{
  "hex": "#791b1e",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 30
  },
  "hsl": {
    "h": 358.085,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38257,
    "c": 0.12833,
    "h": 24.2
  },
  "luminance": 0.04943
}

Semantic roles & 50–950 ramp

primary
#791B1E
secondary
#43ADAA
accent
#E7E141
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #791B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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