#791F2D#791F2D

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

Color values

HEX#791F2D
RGBrgb(121, 31, 45)
HSLhsl(351, 59%, 30%)
HSVhsv(351, 74%, 47%)
CMYKcmyk(0%, 74.4%, 62.8%, 52.5%)
CIE-LABlab(27.40, 39.57, 14.23)
CIE-LCHlch(27.40, 42.05, 19.79°)
OKLaboklab(38.96% 0.1184 0.0348)
OKLCHoklch(38.96% 0.123 16.4)
XYZxyz(8.8497, 5.2356, 3.0267)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F2D #1F796B
analogous
#791F5A #791F2D #793E1F
triadic
#791F2D #2D791F #1F2D79
tetradic
#791F2D #5A791F #1F796B #3E1F79
square
#791F2D #5A791F #1F796B #3E1F79
split-complementary
#791F2D #1F793E #1F5A79
monochromatic
#180609 #48131B #791F2D #AA2B3F #CF4359

Accessibility & contrast

On white

10.26
#791F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791F2D
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F2D#FFFFFF#000000##FFFFFF
##791F2D1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352D
Deuteranopia (green-blind)
#4E482B
Tritanopia (blue-blind)
#850525
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #791f2d;
/* rgb */ color: rgb(121, 31, 45);
/* oklch */ color: oklch(39.0% 0.123 16.4);
Tailwind
colors: {
  custom: {
    50: '#a66265',
    500: '#791f2d',
    950: '#000000',
  },
}
SCSS
$custom: #791f2d;
$custom-light: #a66265;
$custom-dark: #000000;
JSON
{
  "hex": "#791f2d",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 45
  },
  "hsl": {
    "h": 350.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38955,
    "c": 0.12341,
    "h": 16.4
  },
  "luminance": 0.05234
}

Semantic roles & 50–950 ramp

primary
#791F2D
secondary
#47AC9D
accent
#E2CA45
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100505
muted
#7F7A7A

Preview Lab

Preview with #791F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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