#791F20#791F20

#791F20 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.124 H 24.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#791F20
RGBrgb(121, 31, 32)
HSLhsl(359, 59%, 30%)
HSVhsv(359, 74%, 47%)
CMYKcmyk(0%, 74.4%, 73.6%, 52.5%)
CIE-LABlab(27.16, 38.76, 22.49)
CIE-LCHlch(27.16, 44.81, 30.12°)
OKLaboklab(38.7% 0.113 0.0517)
OKLCHoklch(38.7% 0.124 24.6)
XYZxyz(8.6368, 5.1505, 1.9056)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F20 #1F7978
analogous
#791F4D #791F20 #794B1F
triadic
#791F20 #20791F #1F2079
tetradic
#791F20 #4D791F #1F7978 #4B1F79
square
#791F20 #4D791F #1F7978 #4B1F79
split-complementary
#791F20 #1F794B #1F4D79
monochromatic
#180606 #481313 #791F20 #AA2B2D #CF4345

Accessibility & contrast

On white

10.35
#791F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#791F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F20
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F20#FFFFFF#000000##FFFFFF
##791F201.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39341F
Deuteranopia (green-blind)
#4F471D
Tritanopia (blue-blind)
#850020
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #791f20;
/* rgb */ color: rgb(121, 31, 32);
/* oklch */ color: oklch(38.7% 0.124 24.6);
Tailwind
colors: {
  custom: {
    50: '#a7625b',
    500: '#791f20',
    950: '#000000',
  },
}
SCSS
$custom: #791f20;
$custom-light: #a7625b;
$custom-dark: #000000;
JSON
{
  "hex": "#791f20",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 32
  },
  "hsl": {
    "h": 359.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38702,
    "c": 0.12423,
    "h": 24.6
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#791F20
secondary
#47ACAB
accent
#E2E145
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #791F20

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

Preview Lab → · Contrast checker → · Palette generator →

#791F20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva