#791F2F#791F2F

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

Color values

HEX#791F2F
RGBrgb(121, 31, 47)
HSLhsl(349, 59%, 30%)
HSVhsv(349, 74%, 47%)
CMYKcmyk(0%, 74.4%, 61.2%, 52.5%)
CIE-LABlab(27.44, 39.72, 12.96)
CIE-LCHlch(27.44, 41.78, 18.07°)
OKLaboklab(39% 0.1193 0.0319)
OKLCHoklch(39% 0.123 15)
XYZxyz(8.8891, 5.2514, 3.2343)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F2F #1F7969
analogous
#791F5C #791F2F #793C1F
triadic
#791F2F #2F791F #1F2F79
tetradic
#791F2F #5C791F #1F7969 #3C1F79
square
#791F2F #5C791F #1F7969 #3C1F79
split-complementary
#791F2F #1F793C #1F5C79
monochromatic
#180609 #48131C #791F2F #AA2B42 #CF435C

Accessibility & contrast

On white

10.24
#791F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791F2F
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F2F#FFFFFF#000000##FFFFFF
##791F2F1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352F
Deuteranopia (green-blind)
#4E482D
Tritanopia (blue-blind)
#850626
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #791f2f;
/* rgb */ color: rgb(121, 31, 47);
/* oklch */ color: oklch(39.0% 0.123 15.0);
Tailwind
colors: {
  custom: {
    50: '#a56267',
    500: '#791f2f',
    950: '#000000',
  },
}
SCSS
$custom: #791f2f;
$custom-light: #a56267;
$custom-dark: #000000;
JSON
{
  "hex": "#791f2f",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 349.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39001,
    "c": 0.12346,
    "h": 15
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#791F2F
secondary
#47AC9A
accent
#E2C645
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100506
muted
#7F7A7A

Preview Lab

Preview with #791F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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