#791F2B#791F2B

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

Color values

HEX#791F2B
RGBrgb(121, 31, 43)
HSLhsl(352, 59%, 30%)
HSVhsv(352, 74%, 47%)
CMYKcmyk(0%, 74.4%, 64.5%, 52.5%)
CIE-LABlab(27.35, 39.43, 15.51)
CIE-LCHlch(27.35, 42.37, 21.48°)
OKLaboklab(38.91% 0.1176 0.0376)
OKLCHoklch(38.91% 0.123 17.7)
XYZxyz(8.8121, 5.2206, 2.8287)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F2B #1F796D
analogous
#791F58 #791F2B #79401F
triadic
#791F2B #2B791F #1F2B79
tetradic
#791F2B #58791F #1F796D #401F79
square
#791F2B #58791F #1F796D #401F79
split-complementary
#791F2B #1F7940 #1F5879
monochromatic
#180609 #48131A #791F2B #AA2B3C #CF4356

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##791F2B#FFFFFF#000000##FFFFFF
##791F2B1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352B
Deuteranopia (green-blind)
#4E4829
Tritanopia (blue-blind)
#850424
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #791f2b;
/* rgb */ color: rgb(121, 31, 43);
/* oklch */ color: oklch(38.9% 0.123 17.7);
Tailwind
colors: {
  custom: {
    50: '#a66264',
    500: '#791f2b',
    950: '#000000',
  },
}
SCSS
$custom: #791f2b;
$custom-light: #a66264;
$custom-dark: #000000;
JSON
{
  "hex": "#791f2b",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 352,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3891,
    "c": 0.1234,
    "h": 17.7
  },
  "luminance": 0.05219
}

Semantic roles & 50–950 ramp

primary
#791F2B
secondary
#47AC9F
accent
#E2CD45
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100505
muted
#7F7A79

Preview Lab

Preview with #791F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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