#792B27#792B27

#792B27 is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.3% C 0.110 H 26.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#792B27
RGBrgb(121, 43, 39)
HSLhsl(3, 51%, 31%)
HSVhsv(3, 68%, 47%)
CMYKcmyk(0%, 64.5%, 67.8%, 52.5%)
CIE-LABlab(29.26, 33.78, 20.55)
CIE-LCHlch(29.26, 39.54, 31.32°)
OKLaboklab(40.31% 0.0988 0.0485)
OKLCHoklch(40.31% 0.11 26.2)
XYZxyz(9.1161, 5.9404, 2.5856)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B27 #277579
analogous
#79274C #792B27 #795427
triadic
#792B27 #27792B #2B2779
tetradic
#792B27 #4C7927 #277579 #542779
square
#792B27 #4C7927 #277579 #542779
split-complementary
#792B27 #277954 #274C79
monochromatic
#1C0A09 #4B1B18 #792B27 #A73B36 #C85953

Accessibility & contrast

On white

9.60
#792B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#792B27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B27
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B27#FFFFFF#000000##FFFFFF
##792B271.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A26
Deuteranopia (green-blind)
#534B25
Tritanopia (blue-blind)
#851A2B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #792b27;
/* rgb */ color: rgb(121, 43, 39);
/* oklch */ color: oklch(40.3% 0.110 26.2);
Tailwind
colors: {
  custom: {
    50: '#a56861',
    500: '#792b27',
    950: '#000000',
  },
}
SCSS
$custom: #792b27;
$custom-light: #a56861;
$custom-dark: #000000;
JSON
{
  "hex": "#792b27",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 39
  },
  "hsl": {
    "h": 2.927,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40313,
    "c": 0.11008,
    "h": 26.2
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#792B27
secondary
#51A7AB
accent
#D4DB4D
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100605
muted
#7F7A79

Preview Lab

Preview with #792B27

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

Preview Lab → · Contrast checker → · Palette generator →

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