#791F2A#791F2A

#791F2A is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.123 H 18.4°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#791F2A
RGBrgb(121, 31, 42)
HSLhsl(353, 59%, 30%)
HSVhsv(353, 74%, 47%)
CMYKcmyk(0%, 74.4%, 65.3%, 52.5%)
CIE-LABlab(27.33, 39.36, 16.15)
CIE-LCHlch(27.33, 42.54, 22.31°)
OKLaboklab(38.89% 0.1171 0.0389)
OKLCHoklch(38.89% 0.123 18.4)
XYZxyz(8.7940, 5.2134, 2.7333)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F2A #1F796E
analogous
#791F57 #791F2A #79411F
triadic
#791F2A #2A791F #1F2A79
tetradic
#791F2A #57791F #1F796E #411F79
square
#791F2A #57791F #1F796E #411F79
split-complementary
#791F2A #1F7941 #1F5779
monochromatic
#180608 #481319 #791F2A #AA2B3B #CF4354

Accessibility & contrast

On white

10.28
#791F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#791F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F2A
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F2A#FFFFFF#000000##FFFFFF
##791F2A1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37342A
Deuteranopia (green-blind)
#4E4728
Tritanopia (blue-blind)
#850424
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #791f2a;
/* rgb */ color: rgb(121, 31, 42);
/* oklch */ color: oklch(38.9% 0.123 18.4);
Tailwind
colors: {
  custom: {
    50: '#a66263',
    500: '#791f2a',
    950: '#000000',
  },
}
SCSS
$custom: #791f2a;
$custom-light: #a66263;
$custom-dark: #000000;
JSON
{
  "hex": "#791f2a",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 352.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38889,
    "c": 0.12343,
    "h": 18.4
  },
  "luminance": 0.05212
}

Semantic roles & 50–950 ramp

primary
#791F2A
secondary
#47ACA0
accent
#E2CF45
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100505
muted
#7F7A79

Preview Lab

Preview with #791F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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