#792226#792226

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

Color values

HEX#792226
RGBrgb(121, 34, 38)
HSLhsl(357, 56%, 30%)
HSVhsv(357, 72%, 47%)
CMYKcmyk(0%, 71.9%, 68.6%, 52.5%)
CIE-LABlab(27.71, 37.86, 19.27)
CIE-LCHlch(27.71, 42.48, 26.97°)
OKLaboklab(39.15% 0.1115 0.0455)
OKLCHoklch(39.15% 0.12 22.2)
XYZxyz(8.8080, 5.3502, 2.4022)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792226 #227975
analogous
#792252 #792226 #794922
triadic
#792226 #267922 #222679
tetradic
#792226 #527922 #227975 #492279
square
#792226 #527922 #227975 #492279
split-complementary
#792226 #227949 #225279
monochromatic
#190708 #491517 #792226 #A92F35 #CC494F

Accessibility & contrast

On white

10.15
#792226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#792226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792226
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792226#FFFFFF#000000##FFFFFF
##7922261.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3625
Deuteranopia (green-blind)
#504823
Tritanopia (blue-blind)
#850924
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #792226;
/* rgb */ color: rgb(121, 34, 38);
/* oklch */ color: oklch(39.1% 0.120 22.2);
Tailwind
colors: {
  custom: {
    50: '#a66360',
    500: '#792226',
    950: '#000000',
  },
}
SCSS
$custom: #792226;
$custom-light: #a66360;
$custom-dark: #000000;
JSON
{
  "hex": "#792226",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 38
  },
  "hsl": {
    "h": 357.241,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39145,
    "c": 0.12042,
    "h": 22.2
  },
  "luminance": 0.05349
}

Semantic roles & 50–950 ramp

primary
#792226
secondary
#4BACA7
accent
#DFD848
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100604
muted
#7F7A79

Preview Lab

Preview with #792226

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

Preview Lab → · Contrast checker → · Palette generator →

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