#791E27#791E27

#791E27 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.125 H 20.0°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#791E27
RGBrgb(121, 30, 39)
HSLhsl(354, 60%, 30%)
HSVhsv(354, 75%, 47%)
CMYKcmyk(0%, 75.2%, 67.8%, 52.5%)
CIE-LABlab(27.13, 39.56, 17.89)
CIE-LCHlch(27.13, 43.41, 24.33°)
OKLaboklab(38.72% 0.1171 0.0425)
OKLCHoklch(38.72% 0.125 20)
XYZxyz(8.7166, 5.1413, 2.4524)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E27 #1E7970
analogous
#791E55 #791E27 #79431E
triadic
#791E27 #27791E #1E2779
tetradic
#791E27 #55791E #1E7970 #431E79
square
#791E27 #55791E #1E7970 #431E79
split-complementary
#791E27 #1E7943 #1E5579
monochromatic
#190608 #481217 #791E27 #AA2A37 #D04150

Accessibility & contrast

On white

10.36
#791E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#791E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E27
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E27#FFFFFF#000000##FFFFFF
##791E271.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373427
Deuteranopia (green-blind)
#4E4724
Tritanopia (blue-blind)
#850022
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #791e27;
/* rgb */ color: rgb(121, 30, 39);
/* oklch */ color: oklch(38.7% 0.125 20.0);
Tailwind
colors: {
  custom: {
    50: '#a66161',
    500: '#791e27',
    950: '#000000',
  },
}
SCSS
$custom: #791e27;
$custom-light: #a66161;
$custom-dark: #000000;
JSON
{
  "hex": "#791e27",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 39
  },
  "hsl": {
    "h": 354.066,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38721,
    "c": 0.12461,
    "h": 20
  },
  "luminance": 0.0514
}

Semantic roles & 50–950 ramp

primary
#791E27
secondary
#46ADA2
accent
#E3D444
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #791E27

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

Preview Lab → · Contrast checker → · Palette generator →

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