#792A1B#792A1B

#792A1B is a dark, moderate red. Relative luminance 0.058; OKLCH L 40.0% C 0.114 H 32.8°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#792A1B
RGBrgb(121, 42, 27)
HSLhsl(10, 64%, 29%)
HSVhsv(10, 78%, 47%)
CMYKcmyk(0%, 65.3%, 77.7%, 52.5%)
CIE-LABlab(28.91, 33.59, 27.56)
CIE-LCHlch(28.91, 43.45, 39.37°)
OKLaboklab(39.99% 0.0957 0.0616)
OKLCHoklch(39.99% 0.114 32.8)
XYZxyz(8.9119, 5.8013, 1.6872)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A1B #1B6A79
analogous
#791B3B #792A1B #79591B
triadic
#792A1B #1B792A #2A1B79
tetradic
#792A1B #3B791B #1B6A79 #591B79
square
#792A1B #3B791B #1B6A79 #591B79
split-complementary
#792A1B #1B7959 #1B3B79
monochromatic
#190906 #471910 #792A1B #AB3B26 #D3533B

Accessibility & contrast

On white

9.72
#792A1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#792A1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792A1B
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792A1B#FFFFFF#000000##FFFFFF
##792A1B1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403919
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#851627
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #792a1b;
/* rgb */ color: rgb(121, 42, 27);
/* oklch */ color: oklch(40.0% 0.114 32.8);
Tailwind
colors: {
  custom: {
    50: '#a66758',
    500: '#792a1b',
    950: '#000000',
  },
}
SCSS
$custom: #792a1b;
$custom-light: #a66758;
$custom-dark: #000000;
JSON
{
  "hex": "#792a1b",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 27
  },
  "hsl": {
    "h": 9.574,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3999,
    "c": 0.11377,
    "h": 32.8
  },
  "luminance": 0.058
}

Semantic roles & 50–950 ramp

primary
#792A1B
secondary
#439CAD
accent
#CCE741
background
#FBF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #792A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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