#792C27#792C27

#792C27 is a dark, moderate red. Relative luminance 0.060; OKLCH L 40.5% C 0.109 H 26.8°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#792C27
RGBrgb(121, 44, 39)
HSLhsl(4, 51%, 31%)
HSVhsv(4, 68%, 47%)
CMYKcmyk(0%, 63.6%, 67.8%, 52.5%)
CIE-LABlab(29.45, 33.28, 20.78)
CIE-LCHlch(29.45, 39.24, 31.98°)
OKLaboklab(40.45% 0.0973 0.049)
OKLCHoklch(40.45% 0.109 26.8)
XYZxyz(9.1529, 6.0140, 2.5979)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C27 #277479
analogous
#79274B #792C27 #795527
triadic
#792C27 #27792C #2C2779
tetradic
#792C27 #4B7927 #277479 #552779
square
#792C27 #4B7927 #277479 #552779
split-complementary
#792C27 #277955 #274B79
monochromatic
#1C0A09 #4B1B18 #792C27 #A73D36 #C85A53

Accessibility & contrast

On white

9.53
#792C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#792C27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C27
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C27#FFFFFF#000000##FFFFFF
##792C271.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B26
Deuteranopia (green-blind)
#534C25
Tritanopia (blue-blind)
#851C2B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #792c27;
/* rgb */ color: rgb(121, 44, 39);
/* oklch */ color: oklch(40.5% 0.109 26.8);
Tailwind
colors: {
  custom: {
    50: '#a56961',
    500: '#792c27',
    950: '#000000',
  },
}
SCSS
$custom: #792c27;
$custom-light: #a56961;
$custom-dark: #000000;
JSON
{
  "hex": "#792c27",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 39
  },
  "hsl": {
    "h": 3.659,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40454,
    "c": 0.10892,
    "h": 26.8
  },
  "luminance": 0.06013
}

Semantic roles & 50–950 ramp

primary
#792C27
secondary
#51A6AB
accent
#D2DB4D
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100605
muted
#7F7A79

Preview Lab

Preview with #792C27

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

Preview Lab → · Contrast checker → · Palette generator →

#792C27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva