#792227#792227

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

Color values

HEX#792227
RGBrgb(121, 34, 39)
HSLhsl(357, 56%, 30%)
HSVhsv(357, 72%, 47%)
CMYKcmyk(0%, 71.9%, 67.8%, 52.5%)
CIE-LABlab(27.73, 37.92, 18.64)
CIE-LCHlch(27.73, 42.25, 26.17°)
OKLaboklab(39.16% 0.1119 0.0442)
OKLCHoklch(39.16% 0.12 21.6)
XYZxyz(8.8243, 5.3568, 2.4884)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792227 #227974
analogous
#792252 #792227 #794922
triadic
#792227 #277922 #222779
tetradic
#792227 #527922 #227974 #492279
square
#792227 #527922 #227974 #492279
split-complementary
#792227 #227949 #225279
monochromatic
#190708 #491518 #792227 #A92F36 #CC4951

Accessibility & contrast

On white

10.14
#792227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792227
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792227#FFFFFF#000000##FFFFFF
##7922271.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3626
Deuteranopia (green-blind)
#504825
Tritanopia (blue-blind)
#850A25
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #792227;
/* rgb */ color: rgb(121, 34, 39);
/* oklch */ color: oklch(39.2% 0.120 21.6);
Tailwind
colors: {
  custom: {
    50: '#a66361',
    500: '#792227',
    950: '#000000',
  },
}
SCSS
$custom: #792227;
$custom-light: #a66361;
$custom-dark: #000000;
JSON
{
  "hex": "#792227",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 356.552,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39164,
    "c": 0.12032,
    "h": 21.6
  },
  "luminance": 0.05355
}

Semantic roles & 50–950 ramp

primary
#792227
secondary
#4BACA6
accent
#DFD748
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100605
muted
#7F7A79

Preview Lab

Preview with #792227

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

Preview Lab → · Contrast checker → · Palette generator →

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