#78172A#78172A

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

Color values

HEX#78172A
RGBrgb(120, 23, 42)
HSLhsl(348, 68%, 28%)
HSVhsv(348, 81%, 47%)
CMYKcmyk(0%, 80.8%, 65%, 52.9%)
CIE-LABlab(26.08, 41.95, 14.48)
CIE-LCHlch(26.08, 44.38, 19.05°)
OKLaboklab(37.92% 0.1256 0.0351)
OKLCHoklch(37.92% 0.13 15.6)
XYZxyz(8.4709, 4.7743, 2.6655)
Luminance0.0477 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78172A #177865
analogous
#78175A #78172A #783417
triadic
#78172A #2A7817 #172A78
tetradic
#78172A #5A7817 #177865 #341778
square
#78172A #5A7817 #177865 #341778
split-complementary
#78172A #177834 #175A78
monochromatic
#1A0509 #450D18 #78172A #AB213C #D83252

Accessibility & contrast

On white

10.74
#78172A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#78172A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78172A
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78172A#FFFFFF#000000##FFFFFF
##78172A1.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78172a;
/* rgb */ color: rgb(120, 23, 42);
/* oklch */ color: oklch(37.9% 0.130 15.6);
Tailwind
colors: {
  custom: {
    50: '#a55e63',
    500: '#78172a',
    950: '#000000',
  },
}
SCSS
$custom: #78172a;
$custom-light: #a55e63;
$custom-dark: #000000;
JSON
{
  "hex": "#78172a",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 42
  },
  "hsl": {
    "h": 348.247,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37922,
    "c": 0.13041,
    "h": 15.6
  },
  "luminance": 0.04773
}

Semantic roles & 50–950 ramp

primary
#78172A
secondary
#3EAD97
accent
#EBC93D
background
#FAF5F5
surface
#F4EAEA
border
#CEC6C6
text
#100505
muted
#7F7979

Preview Lab

Preview with #78172A

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

Preview Lab → · Contrast checker → · Palette generator →

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