#79171B#79171B

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

Color values

HEX#79171B
RGBrgb(121, 23, 27)
HSLhsl(358, 68%, 28%)
HSVhsv(358, 81%, 47%)
CMYKcmyk(0%, 81%, 77.7%, 52.5%)
CIE-LABlab(26.03, 41.45, 24.39)
CIE-LCHlch(26.03, 48.09, 30.47°)
OKLaboklab(37.84% 0.1203 0.0547)
OKLCHoklch(37.84% 0.132 24.4)
XYZxyz(8.3904, 4.7582, 1.5133)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79171B #177975
analogous
#79174C #79171B #794417
triadic
#79171B #1B7917 #171B79
tetradic
#79171B #4C7917 #177975 #441779
square
#79171B #4C7917 #177975 #441779
split-complementary
#79171B #177944 #174C79
monochromatic
#1A0506 #460D10 #79171B #AC2126 #D83239

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79171B#FFFFFF#000000##FFFFFF
##79171B1.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)
#35301A
Deuteranopia (green-blind)
#4D4517
Tritanopia (blue-blind)
#86001A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #79171b;
/* rgb */ color: rgb(121, 23, 27);
/* oklch */ color: oklch(37.8% 0.132 24.4);
Tailwind
colors: {
  custom: {
    50: '#a75e57',
    500: '#79171b',
    950: '#000000',
  },
}
SCSS
$custom: #79171b;
$custom-light: #a75e57;
$custom-dark: #000000;
JSON
{
  "hex": "#79171b",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 357.551,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37842,
    "c": 0.13218,
    "h": 24.4
  },
  "luminance": 0.04757
}

Semantic roles & 50–950 ramp

primary
#79171B
secondary
#3EAEA9
accent
#EBE43D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #79171B

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

Preview Lab → · Contrast checker → · Palette generator →

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