#791B2A#791B2A

#791B2A is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.128 H 17.0°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#791B2A
RGBrgb(121, 27, 42)
HSLhsl(350, 64%, 29%)
HSVhsv(350, 78%, 47%)
CMYKcmyk(0%, 77.7%, 65.3%, 52.5%)
CIE-LABlab(26.78, 40.89, 15.44)
CIE-LCHlch(26.78, 43.70, 20.69°)
OKLaboklab(38.48% 0.122 0.0373)
OKLCHoklch(38.48% 0.128 17)
XYZxyz(8.6959, 5.0173, 2.7006)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B2A #1B796A
analogous
#791B59 #791B2A #793B1B
triadic
#791B2A #2A791B #1B2A79
tetradic
#791B2A #59791B #1B796A #3B1B79
square
#791B2A #59791B #1B796A #3B1B79
split-complementary
#791B2A #1B793B #1B5979
monochromatic
#190609 #471019 #791B2A #AB263B #D33B53

Accessibility & contrast

On white

10.48
#791B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#791B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791B2A
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B2A#FFFFFF#000000##FFFFFF
##791B2A1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35332A
Deuteranopia (green-blind)
#4D4627
Tritanopia (blue-blind)
#850021
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #791b2a;
/* rgb */ color: rgb(121, 27, 42);
/* oklch */ color: oklch(38.5% 0.128 17.0);
Tailwind
colors: {
  custom: {
    50: '#a66063',
    500: '#791b2a',
    950: '#000000',
  },
}
SCSS
$custom: #791b2a;
$custom-light: #a66063;
$custom-dark: #000000;
JSON
{
  "hex": "#791b2a",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 42
  },
  "hsl": {
    "h": 350.426,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3848,
    "c": 0.12759,
    "h": 17
  },
  "luminance": 0.05016
}

Semantic roles & 50–950 ramp

primary
#791B2A
secondary
#43AD9C
accent
#E7CC41
background
#FAF5F5
surface
#F4EAEA
border
#CEC6C6
text
#100505
muted
#7F7979

Preview Lab

Preview with #791B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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