#792820#792820

#792820 is a dark, moderate red. Relative luminance 0.057; OKLCH L 39.8% C 0.115 H 28.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#792820
RGBrgb(121, 40, 32)
HSLhsl(5, 58%, 30%)
HSVhsv(5, 74%, 47%)
CMYKcmyk(0%, 66.9%, 73.6%, 52.5%)
CIE-LABlab(28.61, 34.81, 24.19)
CIE-LCHlch(28.61, 42.39, 34.80°)
OKLaboklab(39.79% 0.1005 0.0554)
OKLCHoklch(39.79% 0.115 28.9)
XYZxyz(8.9056, 5.6881, 1.9952)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792820 #207179
analogous
#792045 #792820 #795420
triadic
#792820 #207928 #282079
tetradic
#792820 #457920 #207179 #542079
square
#792820 #457920 #207179 #542079
split-complementary
#792820 #207954 #204579
monochromatic
#180806 #491813 #792820 #A9382D #CE5245

Accessibility & contrast

On white

9.83
#792820 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#792820 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792820
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792820#FFFFFF#000000##FFFFFF
##7928201.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381F
Deuteranopia (green-blind)
#524A1E
Tritanopia (blue-blind)
#851427
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #792820;
/* rgb */ color: rgb(121, 40, 32);
/* oklch */ color: oklch(39.8% 0.115 28.9);
Tailwind
colors: {
  custom: {
    50: '#a6665b',
    500: '#792820',
    950: '#000000',
  },
}
SCSS
$custom: #792820;
$custom-light: #a6665b;
$custom-dark: #000000;
JSON
{
  "hex": "#792820",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 32
  },
  "hsl": {
    "h": 5.393,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.3979,
    "c": 0.11478,
    "h": 28.9
  },
  "luminance": 0.05687
}

Semantic roles & 50–950 ramp

primary
#792820
secondary
#49A3AC
accent
#D3E146
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #792820

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

Preview Lab → · Contrast checker → · Palette generator →

#792820 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva