#79172A#79172A

#79172A is a dark, vivid red. Relative luminance 0.048; OKLCH L 38.1% C 0.131 H 15.8°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#79172A
RGBrgb(121, 23, 42)
HSLhsl(348, 68%, 28%)
HSVhsv(348, 81%, 47%)
CMYKcmyk(0%, 81%, 65.3%, 52.5%)
CIE-LABlab(26.29, 42.27, 14.80)
CIE-LCHlch(26.29, 44.78, 19.29°)
OKLaboklab(38.12% 0.1265 0.0358)
OKLCHoklch(38.12% 0.131 15.8)
XYZxyz(8.6104, 4.8462, 2.6721)
Luminance0.0485 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79172A #177966
analogous
#79175B #79172A #793517
triadic
#79172A #2A7917 #172A79
tetradic
#79172A #5B7917 #177966 #351779
square
#79172A #5B7917 #177966 #351779
split-complementary
#79172A #177935 #175B79
monochromatic
#1A0509 #460D18 #79172A #AC213C #D83252

Accessibility & contrast

On white

10.67
#79172A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#79172A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79172A
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79172A#FFFFFF#000000##FFFFFF
##79172A1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33312A
Deuteranopia (green-blind)
#4C4627
Tritanopia (blue-blind)
#85001F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #79172a;
/* rgb */ color: rgb(121, 23, 42);
/* oklch */ color: oklch(38.1% 0.131 15.8);
Tailwind
colors: {
  custom: {
    50: '#a65f63',
    500: '#79172a',
    950: '#000000',
  },
}
SCSS
$custom: #79172a;
$custom-light: #a65f63;
$custom-dark: #000000;
JSON
{
  "hex": "#79172a",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 42
  },
  "hsl": {
    "h": 348.367,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38115,
    "c": 0.13142,
    "h": 15.8
  },
  "luminance": 0.04845
}

Semantic roles & 50–950 ramp

primary
#79172A
secondary
#3EAE98
accent
#EBC93D
background
#FAF5F5
surface
#F5EAEA
border
#CFC6C6
text
#110505
muted
#807979

Preview Lab

Preview with #79172A

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

Preview Lab → · Contrast checker → · Palette generator →

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