#791B26#791B26

#791B26 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.4% C 0.128 H 19.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#791B26
RGBrgb(121, 27, 38)
HSLhsl(353, 64%, 29%)
HSVhsv(353, 78%, 47%)
CMYKcmyk(0%, 77.7%, 68.6%, 52.5%)
CIE-LABlab(26.71, 40.63, 18.01)
CIE-LCHlch(26.71, 44.44, 23.90°)
OKLaboklab(38.4% 0.1203 0.0427)
OKLCHoklch(38.4% 0.128 19.5)
XYZxyz(8.6279, 4.9900, 2.3422)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B26 #1B796E
analogous
#791B55 #791B26 #793F1B
triadic
#791B26 #26791B #1B2679
tetradic
#791B26 #55791B #1B796E #3F1B79
square
#791B26 #55791B #1B796E #3F1B79
split-complementary
#791B26 #1B793F #1B5579
monochromatic
#190608 #471016 #791B26 #AB2636 #D33B4D

Accessibility & contrast

On white

10.51
#791B26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#791B26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791B26
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B26#FFFFFF#000000##FFFFFF
##791B261.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363226
Deuteranopia (green-blind)
#4E4623
Tritanopia (blue-blind)
#850020
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #791b26;
/* rgb */ color: rgb(121, 27, 38);
/* oklch */ color: oklch(38.4% 0.128 19.5);
Tailwind
colors: {
  custom: {
    50: '#a66060',
    500: '#791b26',
    950: '#000000',
  },
}
SCSS
$custom: #791b26;
$custom-light: #a66060;
$custom-dark: #000000;
JSON
{
  "hex": "#791b26",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 38
  },
  "hsl": {
    "h": 352.979,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38397,
    "c": 0.12767,
    "h": 19.5
  },
  "luminance": 0.04989
}

Semantic roles & 50–950 ramp

primary
#791B26
secondary
#43ADA1
accent
#E7D341
background
#FAF5F5
surface
#F5EAE9
border
#CFC6C5
text
#110504
muted
#807979

Preview Lab

Preview with #791B26

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

Preview Lab → · Contrast checker → · Palette generator →

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