#79171C#79171C

#79171C is a dark, vivid red. Relative luminance 0.048; OKLCH L 37.9% C 0.132 H 23.9°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#79171C
RGBrgb(121, 23, 28)
HSLhsl(357, 68%, 28%)
HSVhsv(357, 81%, 47%)
CMYKcmyk(0%, 81%, 76.9%, 52.5%)
CIE-LABlab(26.05, 41.49, 23.76)
CIE-LCHlch(26.05, 47.81, 29.80°)
OKLaboklab(37.86% 0.1207 0.0536)
OKLCHoklch(37.86% 0.132 23.9)
XYZxyz(8.4021, 4.7629, 1.5753)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79171C #177974
analogous
#79174D #79171C #794317
triadic
#79171C #1C7917 #171C79
tetradic
#79171C #4D7917 #177974 #431779
square
#79171C #4D7917 #177974 #431779
split-complementary
#79171C #177943 #174D79
monochromatic
#1A0506 #460D10 #79171C #AC2128 #D8323B

Accessibility & contrast

On white

10.76
#79171C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#79171C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79171C
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79171C#FFFFFF#000000##FFFFFF
##79171C1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301B
Deuteranopia (green-blind)
#4D4518
Tritanopia (blue-blind)
#86001A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #79171c;
/* rgb */ color: rgb(121, 23, 28);
/* oklch */ color: oklch(37.9% 0.132 23.9);
Tailwind
colors: {
  custom: {
    50: '#a75e58',
    500: '#79171c',
    950: '#000000',
  },
}
SCSS
$custom: #79171c;
$custom-light: #a75e58;
$custom-dark: #000000;
JSON
{
  "hex": "#79171c",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 28
  },
  "hsl": {
    "h": 356.939,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37856,
    "c": 0.13207,
    "h": 23.9
  },
  "luminance": 0.04762
}

Semantic roles & 50–950 ramp

primary
#79171C
secondary
#3EAEA8
accent
#EBE23D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #79171C

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

Preview Lab → · Contrast checker → · Palette generator →

#79171C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva