#791C27#791C27

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

Color values

HEX#791C27
RGBrgb(121, 28, 39)
HSLhsl(353, 62%, 29%)
HSVhsv(353, 77%, 47%)
CMYKcmyk(0%, 76.9%, 67.8%, 52.5%)
CIE-LABlab(26.86, 40.32, 17.54)
CIE-LCHlch(26.86, 43.97, 23.50°)
OKLaboklab(38.52% 0.1196 0.0417)
OKLCHoklch(38.52% 0.127 19.2)
XYZxyz(8.6675, 5.0432, 2.4361)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791C27 #1C796E
analogous
#791C56 #791C27 #79401C
triadic
#791C27 #27791C #1C2779
tetradic
#791C27 #56791C #1C796E #401C79
square
#791C27 #56791C #1C796E #401C79
split-complementary
#791C27 #1C7940 #1C5679
monochromatic
#190608 #471017 #791C27 #AB2837 #D23D4F

Accessibility & contrast

On white

10.46
#791C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791C27
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791C27#FFFFFF#000000##FFFFFF
##791C271.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791c27;
/* rgb */ color: rgb(121, 28, 39);
/* oklch */ color: oklch(38.5% 0.127 19.2);
Tailwind
colors: {
  custom: {
    50: '#a66061',
    500: '#791c27',
    950: '#000000',
  },
}
SCSS
$custom: #791c27;
$custom-light: #a66061;
$custom-dark: #000000;
JSON
{
  "hex": "#791c27",
  "rgb": {
    "r": 121,
    "g": 28,
    "b": 39
  },
  "hsl": {
    "h": 352.903,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38516,
    "c": 0.12664,
    "h": 19.2
  },
  "luminance": 0.05042
}

Semantic roles & 50–950 ramp

primary
#791C27
secondary
#44ADA1
accent
#E5D242
background
#FAF5F5
surface
#F5EAE9
border
#CFC6C5
text
#110505
muted
#807979

Preview Lab

Preview with #791C27

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

Preview Lab → · Contrast checker → · Palette generator →

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