#79172F#79172F

#79172F is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.2% C 0.132 H 12.6°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#79172F
RGBrgb(121, 23, 47)
HSLhsl(345, 68%, 28%)
HSVhsv(345, 81%, 47%)
CMYKcmyk(0%, 81%, 61.2%, 52.5%)
CIE-LABlab(26.40, 42.61, 11.56)
CIE-LCHlch(26.40, 44.15, 15.18°)
OKLaboklab(38.23% 0.1286 0.0286)
OKLCHoklch(38.23% 0.132 12.6)
XYZxyz(8.7055, 4.8843, 3.1731)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79172F #177961
analogous
#791760 #79172F #793017
triadic
#79172F #2F7917 #172F79
tetradic
#79172F #607917 #177961 #301779
square
#79172F #607917 #177961 #301779
split-complementary
#79172F #177930 #176079
monochromatic
#1A050A #460D1B #79172F #AC2143 #D8325B

Accessibility & contrast

On white

10.62
#79172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#79172F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79172F
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79172F#FFFFFF#000000##FFFFFF
##79172F1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32322F
Deuteranopia (green-blind)
#4B462C
Tritanopia (blue-blind)
#850021
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #79172f;
/* rgb */ color: rgb(121, 23, 47);
/* oklch */ color: oklch(38.2% 0.132 12.6);
Tailwind
colors: {
  custom: {
    50: '#a65f67',
    500: '#79172f',
    950: '#000000',
  },
}
SCSS
$custom: #79172f;
$custom-light: #a65f67;
$custom-dark: #000000;
JSON
{
  "hex": "#79172f",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 345.306,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38233,
    "c": 0.13172,
    "h": 12.6
  },
  "luminance": 0.04883
}

Semantic roles & 50–950 ramp

primary
#79172F
secondary
#3EAE93
accent
#EBC03D
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100506
muted
#7F797A

Preview Lab

Preview with #79172F

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

Preview Lab → · Contrast checker → · Palette generator →

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