#791B2F#791B2F

#791B2F is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.6% C 0.128 H 13.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#791B2F
RGBrgb(121, 27, 47)
HSLhsl(347, 64%, 29%)
HSVhsv(347, 78%, 47%)
CMYKcmyk(0%, 77.7%, 61.2%, 52.5%)
CIE-LABlab(26.89, 41.24, 12.22)
CIE-LCHlch(26.89, 43.01, 16.51°)
OKLaboklab(38.6% 0.1242 0.0302)
OKLCHoklch(38.6% 0.128 13.7)
XYZxyz(8.7911, 5.0553, 3.2016)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B2F #1B7965
analogous
#791B5E #791B2F #79361B
triadic
#791B2F #2F791B #1B2F79
tetradic
#791B2F #5E791B #1B7965 #361B79
square
#791B2F #5E791B #1B7965 #361B79
split-complementary
#791B2F #1B7936 #1B5E79
monochromatic
#19060A #47101C #791B2F #AB2642 #D33B5B

Accessibility & contrast

On white

10.44
#791B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#791B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791B2F
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B2F#FFFFFF#000000##FFFFFF
##791B2F1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34332F
Deuteranopia (green-blind)
#4C472D
Tritanopia (blue-blind)
#850023
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #791b2f;
/* rgb */ color: rgb(121, 27, 47);
/* oklch */ color: oklch(38.6% 0.128 13.7);
Tailwind
colors: {
  custom: {
    50: '#a66067',
    500: '#791b2f',
    950: '#000000',
  },
}
SCSS
$custom: #791b2f;
$custom-light: #a66067;
$custom-dark: #000000;
JSON
{
  "hex": "#791b2f",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 347.234,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38595,
    "c": 0.12777,
    "h": 13.7
  },
  "luminance": 0.05054
}

Semantic roles & 50–950 ramp

primary
#791B2F
secondary
#43AD97
accent
#E7C341
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100506
muted
#7F797A

Preview Lab

Preview with #791B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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