#792812#792812

#792812 is a dark, moderate red. Relative luminance 0.056; OKLCH L 39.6% C 0.118 H 35.7°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#792812
RGBrgb(121, 40, 18)
HSLhsl(13, 74%, 27%)
HSVhsv(13, 85%, 47%)
CMYKcmyk(0%, 66.9%, 85.1%, 52.5%)
CIE-LABlab(28.45, 34.20, 32.17)
CIE-LCHlch(28.45, 46.95, 43.25°)
OKLaboklab(39.62% 0.0957 0.0688)
OKLCHoklch(39.62% 0.118 35.7)
XYZxyz(8.7541, 5.6275, 1.1974)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792812 #126379
analogous
#79122F #792812 #795C12
triadic
#792812 #127928 #281279
tetradic
#792812 #2F7912 #126379 #5C1279
square
#792812 #2F7912 #126379 #5C1279
split-complementary
#792812 #12795C #122F79
monochromatic
#1B0904 #44160A #792812 #AE3A1A #DF4E27

Accessibility & contrast

On white

9.88
#792812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#792812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792812
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792812#FFFFFF#000000##FFFFFF
##7928121.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F380F
Deuteranopia (green-blind)
#534A0E
Tritanopia (blue-blind)
#861124
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #792812;
/* rgb */ color: rgb(121, 40, 18);
/* oklch */ color: oklch(39.6% 0.118 35.7);
Tailwind
colors: {
  custom: {
    50: '#a76652',
    500: '#792812',
    950: '#000000',
  },
}
SCSS
$custom: #792812;
$custom-light: #a76652;
$custom-dark: #000000;
JSON
{
  "hex": "#792812",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 18
  },
  "hsl": {
    "h": 12.816,
    "s": 74.101,
    "l": 27.255
  },
  "oklch": {
    "l": 0.39619,
    "c": 0.11789,
    "h": 35.7
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#792812
secondary
#3896AF
accent
#C9F137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #792812

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

Preview Lab → · Contrast checker → · Palette generator →

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