#792218#792218

#792218 is a dark, vivid red. Relative luminance 0.053; OKLCH L 38.9% C 0.123 H 30.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#792218
RGBrgb(121, 34, 24)
HSLhsl(6, 67%, 28%)
HSVhsv(6, 80%, 47%)
CMYKcmyk(0%, 71.9%, 80.2%, 52.5%)
CIE-LABlab(27.51, 37.14, 27.84)
CIE-LCHlch(27.51, 46.42, 36.86°)
OKLaboklab(38.93% 0.1061 0.0614)
OKLCHoklch(38.93% 0.123 30.1)
XYZxyz(8.6230, 5.2762, 1.4283)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792218 #186F79
analogous
#79183E #792218 #795218
triadic
#792218 #187922 #221879
tetradic
#792218 #3E7918 #186F79 #521879
square
#792218 #3E7918 #186F79 #521879
split-complementary
#792218 #187952 #183E79
monochromatic
#1A0705 #46140E #792218 #AC3022 #D74535

Accessibility & contrast

On white

10.22
#792218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#792218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792218
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792218#FFFFFF#000000##FFFFFF
##7922181.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3516
Deuteranopia (green-blind)
#514815
Tritanopia (blue-blind)
#860420
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #792218;
/* rgb */ color: rgb(121, 34, 24);
/* oklch */ color: oklch(38.9% 0.123 30.1);
Tailwind
colors: {
  custom: {
    50: '#a76355',
    500: '#792218',
    950: '#000000',
  },
}
SCSS
$custom: #792218;
$custom-light: #a76355;
$custom-dark: #000000;
JSON
{
  "hex": "#792218",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 24
  },
  "hsl": {
    "h": 6.186,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38929,
    "c": 0.12254,
    "h": 30.1
  },
  "luminance": 0.05275
}

Semantic roles & 50–950 ramp

primary
#792218
secondary
#3FA2AE
accent
#D8EA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78

Preview Lab

Preview with #792218

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

Preview Lab → · Contrast checker → · Palette generator →

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