#792818#792818

#792818 is a dark, moderate red. Relative luminance 0.056; OKLCH L 39.7% C 0.117 H 33.1°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#792818
RGBrgb(121, 40, 24)
HSLhsl(10, 67%, 28%)
HSVhsv(10, 80%, 47%)
CMYKcmyk(0%, 66.9%, 80.2%, 52.5%)
CIE-LABlab(28.51, 34.42, 28.90)
CIE-LCHlch(28.51, 44.94, 40.01°)
OKLaboklab(39.68% 0.0976 0.0637)
OKLCHoklch(39.68% 0.117 33.1)
XYZxyz(8.8098, 5.6497, 1.4906)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792818 #186979
analogous
#791838 #792818 #795818
triadic
#792818 #187928 #281879
tetradic
#792818 #387918 #186979 #581879
square
#792818 #387918 #186979 #581879
split-complementary
#792818 #187958 #183879
monochromatic
#1A0805 #46170E #792818 #AC3922 #D74F35

Accessibility & contrast

On white

9.86
#792818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792818
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792818#FFFFFF#000000##FFFFFF
##7928181.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3816
Deuteranopia (green-blind)
#534A15
Tritanopia (blue-blind)
#861225
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #792818;
/* rgb */ color: rgb(121, 40, 24);
/* oklch */ color: oklch(39.7% 0.117 33.1);
Tailwind
colors: {
  custom: {
    50: '#a76656',
    500: '#792818',
    950: '#000000',
  },
}
SCSS
$custom: #792818;
$custom-light: #a76656;
$custom-dark: #000000;
JSON
{
  "hex": "#792818",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 24
  },
  "hsl": {
    "h": 9.897,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39682,
    "c": 0.11653,
    "h": 33.1
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#792818
secondary
#3F9CAE
accent
#CDEA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #792818

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

Preview Lab → · Contrast checker → · Palette generator →

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