#79171A#79171A

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

Color values

HEX#79171A
RGBrgb(121, 23, 26)
HSLhsl(358, 68%, 28%)
HSVhsv(358, 81%, 47%)
CMYKcmyk(0%, 81%, 78.5%, 52.5%)
CIE-LABlab(26.02, 41.41, 25.01)
CIE-LCHlch(26.02, 48.37, 31.13°)
OKLaboklab(37.83% 0.12 0.0558)
OKLCHoklch(37.83% 0.132 24.9)
XYZxyz(8.3790, 4.7536, 1.4534)
Luminance0.0475 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79171A #177976
analogous
#79174B #79171A #794517
triadic
#79171A #1A7917 #171A79
tetradic
#79171A #4B7917 #177976 #451779
square
#79171A #4B7917 #177976 #451779
split-complementary
#79171A #177945 #174B79
monochromatic
#1A0506 #460D0F #79171A #AC2125 #D83237

Accessibility & contrast

On white

10.77
#79171A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79171A
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79171A#FFFFFF#000000##FFFFFF
##79171A1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353019
Deuteranopia (green-blind)
#4E4516
Tritanopia (blue-blind)
#860019
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #79171a;
/* rgb */ color: rgb(121, 23, 26);
/* oklch */ color: oklch(37.8% 0.132 24.9);
Tailwind
colors: {
  custom: {
    50: '#a75e56',
    500: '#79171a',
    950: '#000000',
  },
}
SCSS
$custom: #79171a;
$custom-light: #a75e56;
$custom-dark: #000000;
JSON
{
  "hex": "#79171a",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 26
  },
  "hsl": {
    "h": 358.163,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37828,
    "c": 0.13229,
    "h": 24.9
  },
  "luminance": 0.04752
}

Semantic roles & 50–950 ramp

primary
#79171A
secondary
#3EAEAB
accent
#EBE63D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #79171A

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

Preview Lab → · Contrast checker → · Palette generator →

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