#792228#792228

#792228 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.2% C 0.120 H 20.9°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#792228
RGBrgb(121, 34, 40)
HSLhsl(356, 56%, 30%)
HSVhsv(356, 72%, 47%)
CMYKcmyk(0%, 71.9%, 66.9%, 52.5%)
CIE-LABlab(27.75, 37.99, 18.00)
CIE-LCHlch(27.75, 42.04, 25.36°)
OKLaboklab(39.18% 0.1123 0.0429)
OKLCHoklch(39.18% 0.12 20.9)
XYZxyz(8.8411, 5.3635, 2.5768)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792228 #227973
analogous
#792253 #792228 #794722
triadic
#792228 #287922 #222879
tetradic
#792228 #537922 #227973 #472279
square
#792228 #537922 #227973 #472279
split-complementary
#792228 #227947 #225379
monochromatic
#190708 #491518 #792228 #A92F38 #CC4952

Accessibility & contrast

On white

10.13
#792228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792228
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792228#FFFFFF#000000##FFFFFF
##7922281.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393628
Deuteranopia (green-blind)
#4F4826
Tritanopia (blue-blind)
#850A25
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #792228;
/* rgb */ color: rgb(121, 34, 40);
/* oklch */ color: oklch(39.2% 0.120 20.9);
Tailwind
colors: {
  custom: {
    50: '#a66361',
    500: '#792228',
    950: '#000000',
  },
}
SCSS
$custom: #792228;
$custom-light: #a66361;
$custom-dark: #000000;
JSON
{
  "hex": "#792228",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 355.862,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39184,
    "c": 0.12025,
    "h": 20.9
  },
  "luminance": 0.05362
}

Semantic roles & 50–950 ramp

primary
#792228
secondary
#4BACA5
accent
#DFD548
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100605
muted
#7F7A79

Preview Lab

Preview with #792228

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

Preview Lab → · Contrast checker → · Palette generator →

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