#792E27#792E27

#792E27 is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.7% C 0.107 H 28.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#792E27
RGBrgb(121, 46, 39)
HSLhsl(5, 51%, 31%)
HSVhsv(5, 68%, 47%)
CMYKcmyk(0%, 62%, 67.8%, 52.5%)
CIE-LABlab(29.83, 32.28, 21.25)
CIE-LCHlch(29.83, 38.64, 33.36°)
OKLaboklab(40.74% 0.0941 0.0501)
OKLCHoklch(40.74% 0.107 28)
XYZxyz(9.2292, 6.1666, 2.6233)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E27 #277279
analogous
#792749 #792E27 #795727
triadic
#792E27 #27792E #2E2779
tetradic
#792E27 #497927 #277279 #572779
square
#792E27 #497927 #277279 #572779
split-complementary
#792E27 #277957 #274979
monochromatic
#1C0B09 #4B1C18 #792E27 #A74036 #C85D53

Accessibility & contrast

On white

9.40
#792E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#792E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E27
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E27#FFFFFF#000000##FFFFFF
##792E271.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792e27;
/* rgb */ color: rgb(121, 46, 39);
/* oklch */ color: oklch(40.7% 0.107 28.0);
Tailwind
colors: {
  custom: {
    50: '#a56a61',
    500: '#792e27',
    950: '#000000',
  },
}
SCSS
$custom: #792e27;
$custom-light: #a56a61;
$custom-dark: #000000;
JSON
{
  "hex": "#792e27",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 39
  },
  "hsl": {
    "h": 5.122,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40741,
    "c": 0.1066,
    "h": 28
  },
  "luminance": 0.06165
}

Semantic roles & 50–950 ramp

primary
#792E27
secondary
#51A3AB
accent
#CFDB4D
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100705
muted
#7F7A79

Preview Lab

Preview with #792E27

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

Preview Lab → · Contrast checker → · Palette generator →

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