#791B27#791B27

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

Color values

HEX#791B27
RGBrgb(121, 27, 39)
HSLhsl(352, 64%, 29%)
HSVhsv(352, 78%, 47%)
CMYKcmyk(0%, 77.7%, 67.8%, 52.5%)
CIE-LABlab(26.73, 40.69, 17.37)
CIE-LCHlch(26.73, 44.24, 23.11°)
OKLaboklab(38.42% 0.1208 0.0414)
OKLCHoklch(38.42% 0.128 18.9)
XYZxyz(8.6442, 4.9966, 2.4283)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B27 #1B796D
analogous
#791B56 #791B27 #793E1B
triadic
#791B27 #27791B #1B2779
tetradic
#791B27 #56791B #1B796D #3E1B79
square
#791B27 #56791B #1B796D #3E1B79
split-complementary
#791B27 #1B793E #1B5679
monochromatic
#190608 #471017 #791B27 #AB2637 #D33B4F

Accessibility & contrast

On white

10.51
#791B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791B27
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B27#FFFFFF#000000##FFFFFF
##791B271.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363327
Deuteranopia (green-blind)
#4D4624
Tritanopia (blue-blind)
#850020
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #791b27;
/* rgb */ color: rgb(121, 27, 39);
/* oklch */ color: oklch(38.4% 0.128 18.9);
Tailwind
colors: {
  custom: {
    50: '#a66060',
    500: '#791b27',
    950: '#000000',
  },
}
SCSS
$custom: #791b27;
$custom-light: #a66060;
$custom-dark: #000000;
JSON
{
  "hex": "#791b27",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 39
  },
  "hsl": {
    "h": 352.34,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38417,
    "c": 0.12764,
    "h": 18.9
  },
  "luminance": 0.04995
}

Semantic roles & 50–950 ramp

primary
#791B27
secondary
#43ADA0
accent
#E7D141
background
#FAF5F5
surface
#F5EAE9
border
#CFC6C5
text
#110505
muted
#807979

Preview Lab

Preview with #791B27

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

Preview Lab → · Contrast checker → · Palette generator →

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