#792222#792222

#792222 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.121 H 24.7°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#792222
RGBrgb(121, 34, 34)
HSLhsl(0, 56%, 30%)
HSVhsv(0, 72%, 47%)
CMYKcmyk(0%, 71.9%, 71.9%, 52.5%)
CIE-LABlab(27.64, 37.62, 21.78)
CIE-LCHlch(27.64, 43.47, 30.07°)
OKLaboklab(39.07% 0.1098 0.0505)
OKLCHoklch(39.07% 0.121 24.7)
XYZxyz(8.7469, 5.3258, 2.0805)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792222 #227979
analogous
#79224D #792222 #794D22
triadic
#792222 #227922 #222279
tetradic
#792222 #4D7922 #227979 #4D2279
square
#792222 #4D7922 #227979 #4D2279
split-complementary
#792222 #22794D #224D79
monochromatic
#190707 #491515 #792222 #A92F2F #CC4949

Accessibility & contrast

On white

10.17
#792222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792222
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792222#FFFFFF#000000##FFFFFF
##7922221.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3521
Deuteranopia (green-blind)
#50481F
Tritanopia (blue-blind)
#850723
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #792222;
/* rgb */ color: rgb(121, 34, 34);
/* oklch */ color: oklch(39.1% 0.121 24.7);
Tailwind
colors: {
  custom: {
    50: '#a6635d',
    500: '#792222',
    950: '#000000',
  },
}
SCSS
$custom: #792222;
$custom-light: #a6635d;
$custom-dark: #000000;
JSON
{
  "hex": "#792222",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 0,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39074,
    "c": 0.12088,
    "h": 24.7
  },
  "luminance": 0.05324
}

Semantic roles & 50–950 ramp

primary
#792222
secondary
#4BACAC
accent
#DFDF48
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #792222

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

Preview Lab → · Contrast checker → · Palette generator →

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