#792D27#792D27

#792D27 is a dark, moderate red. Relative luminance 0.061; OKLCH L 40.6% C 0.108 H 27.4°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#792D27
RGBrgb(121, 45, 39)
HSLhsl(4, 51%, 31%)
HSVhsv(4, 68%, 47%)
CMYKcmyk(0%, 62.8%, 67.8%, 52.5%)
CIE-LABlab(29.64, 32.78, 21.01)
CIE-LCHlch(29.64, 38.94, 32.66°)
OKLaboklab(40.6% 0.0957 0.0496)
OKLCHoklch(40.6% 0.108 27.4)
XYZxyz(9.1906, 6.0894, 2.6105)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D27 #277379
analogous
#79274A #792D27 #795627
triadic
#792D27 #27792D #2D2779
tetradic
#792D27 #4A7927 #277379 #562779
square
#792D27 #4A7927 #277379 #562779
split-complementary
#792D27 #277956 #274A79
monochromatic
#1C0B09 #4B1C18 #792D27 #A73E36 #C85B53

Accessibility & contrast

On white

9.47
#792D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#792D27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792D27
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D27#FFFFFF#000000##FFFFFF
##792D271.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C26
Deuteranopia (green-blind)
#544C25
Tritanopia (blue-blind)
#851D2C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #792d27;
/* rgb */ color: rgb(121, 45, 39);
/* oklch */ color: oklch(40.6% 0.108 27.4);
Tailwind
colors: {
  custom: {
    50: '#a56961',
    500: '#792d27',
    950: '#000000',
  },
}
SCSS
$custom: #792d27;
$custom-light: #a56961;
$custom-dark: #000000;
JSON
{
  "hex": "#792d27",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 39
  },
  "hsl": {
    "h": 4.39,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40596,
    "c": 0.10775,
    "h": 27.4
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#792D27
secondary
#51A4AB
accent
#D0DB4D
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100605
muted
#7F7A79

Preview Lab

Preview with #792D27

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

Preview Lab → · Contrast checker → · Palette generator →

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