#79171F#79171F

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

Color values

HEX#79171F
RGBrgb(121, 23, 31)
HSLhsl(355, 68%, 28%)
HSVhsv(355, 81%, 47%)
CMYKcmyk(0%, 81%, 74.4%, 52.5%)
CIE-LABlab(26.09, 41.63, 21.87)
CIE-LCHlch(26.09, 47.03, 27.72°)
OKLaboklab(37.9% 0.1219 0.0501)
OKLCHoklch(37.9% 0.132 22.4)
XYZxyz(8.4398, 4.7780, 1.7739)
Luminance0.0478 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79171F #177971
analogous
#791750 #79171F #794017
triadic
#79171F #1F7917 #171F79
tetradic
#79171F #507917 #177971 #401779
square
#79171F #507917 #177971 #401779
split-complementary
#79171F #177940 #175079
monochromatic
#1A0507 #460D12 #79171F #AC212C #D83240

Accessibility & contrast

On white

10.74
#79171F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#79171F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79171F
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79171F#FFFFFF#000000##FFFFFF
##79171F1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #79171f;
/* rgb */ color: rgb(121, 23, 31);
/* oklch */ color: oklch(37.9% 0.132 22.4);
Tailwind
colors: {
  custom: {
    50: '#a75e5a',
    500: '#79171f',
    950: '#000000',
  },
}
SCSS
$custom: #79171f;
$custom-light: #a75e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#79171f",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 31
  },
  "hsl": {
    "h": 355.102,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37904,
    "c": 0.13178,
    "h": 22.4
  },
  "luminance": 0.04777
}

Semantic roles & 50–950 ramp

primary
#79171F
secondary
#3EAEA5
accent
#EBDD3D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #79171F

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

Preview Lab → · Contrast checker → · Palette generator →

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