#791F2C#791F2C

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

Color values

HEX#791F2C
RGBrgb(121, 31, 44)
HSLhsl(351, 59%, 30%)
HSVhsv(351, 74%, 47%)
CMYKcmyk(0%, 74.4%, 63.6%, 52.5%)
CIE-LABlab(27.37, 39.50, 14.87)
CIE-LCHlch(27.37, 42.21, 20.64°)
OKLaboklab(38.93% 0.118 0.0362)
OKLCHoklch(38.93% 0.123 17)
XYZxyz(8.8307, 5.2280, 2.9265)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F2C #1F796C
analogous
#791F59 #791F2C #793F1F
triadic
#791F2C #2C791F #1F2C79
tetradic
#791F2C #59791F #1F796C #3F1F79
square
#791F2C #59791F #1F796C #3F1F79
split-complementary
#791F2C #1F793F #1F5979
monochromatic
#180609 #48131A #791F2C #AA2B3E #CF4358

Accessibility & contrast

On white

10.27
#791F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#791F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F2C
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F2C#FFFFFF#000000##FFFFFF
##791F2C1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352C
Deuteranopia (green-blind)
#4E482A
Tritanopia (blue-blind)
#850524
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #791f2c;
/* rgb */ color: rgb(121, 31, 44);
/* oklch */ color: oklch(38.9% 0.123 17.0);
Tailwind
colors: {
  custom: {
    50: '#a66264',
    500: '#791f2c',
    950: '#000000',
  },
}
SCSS
$custom: #791f2c;
$custom-light: #a66264;
$custom-dark: #000000;
JSON
{
  "hex": "#791f2c",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 44
  },
  "hsl": {
    "h": 351.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38932,
    "c": 0.1234,
    "h": 17
  },
  "luminance": 0.05227
}

Semantic roles & 50–950 ramp

primary
#791F2C
secondary
#47AC9E
accent
#E2CC45
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100505
muted
#7F7A7A

Preview Lab

Preview with #791F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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