#792B26#792B26

#792B26 is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.3% C 0.110 H 26.8°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#792B26
RGBrgb(121, 43, 38)
HSLhsl(4, 52%, 31%)
HSVhsv(4, 69%, 47%)
CMYKcmyk(0%, 64.5%, 68.6%, 52.5%)
CIE-LABlab(29.25, 33.71, 21.17)
CIE-LCHlch(29.25, 39.81, 32.12°)
OKLaboklab(40.3% 0.0984 0.0498)
OKLCHoklch(40.3% 0.11 26.8)
XYZxyz(9.0998, 5.9339, 2.4995)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B26 #267479
analogous
#79264A #792B26 #795426
triadic
#792B26 #26792B #2B2679
tetradic
#792B26 #4A7926 #267479 #542679
square
#792B26 #4A7926 #267479 #542679
split-complementary
#792B26 #267954 #264A79
monochromatic
#1C0A09 #4A1A17 #792B26 #A83C35 #C85851

Accessibility & contrast

On white

9.60
#792B26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#792B26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B26
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B26#FFFFFF#000000##FFFFFF
##792B261.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A25
Deuteranopia (green-blind)
#534B24
Tritanopia (blue-blind)
#851A2A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #792b26;
/* rgb */ color: rgb(121, 43, 38);
/* oklch */ color: oklch(40.3% 0.110 26.8);
Tailwind
colors: {
  custom: {
    50: '#a56860',
    500: '#792b26',
    950: '#000000',
  },
}
SCSS
$custom: #792b26;
$custom-light: #a56860;
$custom-dark: #000000;
JSON
{
  "hex": "#792b26",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 38
  },
  "hsl": {
    "h": 3.614,
    "s": 52.201,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40296,
    "c": 0.11027,
    "h": 26.8
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#792B26
secondary
#50A6AB
accent
#D3DC4C
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100605
muted
#7F7A79

Preview Lab

Preview with #792B26

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

Preview Lab → · Contrast checker → · Palette generator →

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