#791E26#791E26

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

Color values

HEX#791E26
RGBrgb(121, 30, 38)
HSLhsl(355, 60%, 30%)
HSVhsv(355, 75%, 47%)
CMYKcmyk(0%, 75.2%, 68.6%, 52.5%)
CIE-LABlab(27.12, 39.50, 18.52)
CIE-LCHlch(27.12, 43.62, 25.13°)
OKLaboklab(38.7% 0.1167 0.0438)
OKLCHoklch(38.7% 0.125 20.6)
XYZxyz(8.7002, 5.1347, 2.3663)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E26 #1E7971
analogous
#791E54 #791E26 #79431E
triadic
#791E26 #26791E #1E2679
tetradic
#791E26 #54791E #1E7971 #431E79
square
#791E26 #54791E #1E7971 #431E79
split-complementary
#791E26 #1E7943 #1E5479
monochromatic
#190608 #481217 #791E26 #AA2A35 #D0414E

Accessibility & contrast

On white

10.36
#791E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#791E26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E26
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E26#FFFFFF#000000##FFFFFF
##791E261.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373426
Deuteranopia (green-blind)
#4E4723
Tritanopia (blue-blind)
#850022
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #791e26;
/* rgb */ color: rgb(121, 30, 38);
/* oklch */ color: oklch(38.7% 0.125 20.6);
Tailwind
colors: {
  custom: {
    50: '#a66160',
    500: '#791e26',
    950: '#000000',
  },
}
SCSS
$custom: #791e26;
$custom-light: #a66160;
$custom-dark: #000000;
JSON
{
  "hex": "#791e26",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 38
  },
  "hsl": {
    "h": 354.725,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38701,
    "c": 0.12466,
    "h": 20.6
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#791E26
secondary
#46ADA4
accent
#E3D544
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #791E26

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

Preview Lab → · Contrast checker → · Palette generator →

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