#792D26#792D26

#792D26 is a dark, moderate red. Relative luminance 0.061; OKLCH L 40.6% C 0.108 H 28.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#792D26
RGBrgb(121, 45, 38)
HSLhsl(5, 52%, 31%)
HSVhsv(5, 69%, 47%)
CMYKcmyk(0%, 62.8%, 68.6%, 52.5%)
CIE-LABlab(29.62, 32.72, 21.63)
CIE-LCHlch(29.62, 39.22, 33.47°)
OKLaboklab(40.58% 0.0953 0.0508)
OKLCHoklch(40.58% 0.108 28.1)
XYZxyz(9.1743, 6.0829, 2.5244)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D26 #267279
analogous
#792648 #792D26 #795626
triadic
#792D26 #26792D #2D2679
tetradic
#792D26 #487926 #267279 #562679
square
#792D26 #487926 #267279 #562679
split-complementary
#792D26 #267956 #264879
monochromatic
#1C0A09 #4A1C17 #792D26 #A83E35 #C85B51

Accessibility & contrast

On white

9.47
#792D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#792D26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792D26
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D26#FFFFFF#000000##FFFFFF
##792D261.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B25
Deuteranopia (green-blind)
#544C24
Tritanopia (blue-blind)
#851D2C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #792d26;
/* rgb */ color: rgb(121, 45, 38);
/* oklch */ color: oklch(40.6% 0.108 28.1);
Tailwind
colors: {
  custom: {
    50: '#a56960',
    500: '#792d26',
    950: '#000000',
  },
}
SCSS
$custom: #792d26;
$custom-light: #a56960;
$custom-dark: #000000;
JSON
{
  "hex": "#792d26",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 38
  },
  "hsl": {
    "h": 5.06,
    "s": 52.201,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40579,
    "c": 0.10796,
    "h": 28.1
  },
  "luminance": 0.06082
}

Semantic roles & 50–950 ramp

primary
#792D26
secondary
#50A3AB
accent
#D0DC4C
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100605
muted
#7F7A79

Preview Lab

Preview with #792D26

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

Preview Lab → · Contrast checker → · Palette generator →

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