#78172C#78172C

#78172C is a dark, vivid red. Relative luminance 0.048; OKLCH L 38.0% C 0.130 H 14.3°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#78172C
RGBrgb(120, 23, 44)
HSLhsl(347, 68%, 28%)
HSVhsv(347, 81%, 47%)
CMYKcmyk(0%, 80.8%, 63.3%, 52.9%)
CIE-LABlab(26.13, 42.09, 13.19)
CIE-LCHlch(26.13, 44.11, 17.39°)
OKLaboklab(37.97% 0.1264 0.0323)
OKLCHoklch(37.97% 0.13 14.3)
XYZxyz(8.5076, 4.7890, 2.8588)
Luminance0.0479 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78172C #177863
analogous
#78175C #78172C #783217
triadic
#78172C #2C7817 #172C78
tetradic
#78172C #5C7817 #177863 #321778
square
#78172C #5C7817 #177863 #321778
split-complementary
#78172C #177832 #175C78
monochromatic
#1A0509 #450D19 #78172C #AB213F #D83256

Accessibility & contrast

On white

10.73
#78172C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#78172C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78172C
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78172C#FFFFFF#000000##FFFFFF
##78172C1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32312C
Deuteranopia (green-blind)
#4B4529
Tritanopia (blue-blind)
#840020
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #78172c;
/* rgb */ color: rgb(120, 23, 44);
/* oklch */ color: oklch(38.0% 0.130 14.3);
Tailwind
colors: {
  custom: {
    50: '#a55e64',
    500: '#78172c',
    950: '#000000',
  },
}
SCSS
$custom: #78172c;
$custom-light: #a55e64;
$custom-dark: #000000;
JSON
{
  "hex": "#78172c",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 44
  },
  "hsl": {
    "h": 347.01,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37968,
    "c": 0.13049,
    "h": 14.3
  },
  "luminance": 0.04788
}

Semantic roles & 50–950 ramp

primary
#78172C
secondary
#3EAD95
accent
#EBC53D
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100505
muted
#7F797A

Preview Lab

Preview with #78172C

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

Preview Lab → · Contrast checker → · Palette generator →

#78172C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva