#78172B#78172B

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

Color values

HEX#78172B
RGBrgb(120, 23, 43)
HSLhsl(348, 68%, 28%)
HSVhsv(348, 81%, 47%)
CMYKcmyk(0%, 80.8%, 64.2%, 52.9%)
CIE-LABlab(26.10, 42.02, 13.83)
CIE-LCHlch(26.10, 44.24, 18.22°)
OKLaboklab(37.95% 0.126 0.0337)
OKLCHoklch(37.95% 0.13 15)
XYZxyz(8.4891, 4.7815, 2.7610)
Luminance0.0478 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78172B #177864
analogous
#78175B #78172B #783317
triadic
#78172B #2B7817 #172B78
tetradic
#78172B #5B7817 #177864 #331778
square
#78172B #5B7817 #177864 #331778
split-complementary
#78172B #177833 #175B78
monochromatic
#1A0509 #450D19 #78172B #AB213D #D83254

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78172B#FFFFFF#000000##FFFFFF
##78172B1.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)
#33312B
Deuteranopia (green-blind)
#4B4528
Tritanopia (blue-blind)
#840020
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #78172b;
/* rgb */ color: rgb(120, 23, 43);
/* oklch */ color: oklch(37.9% 0.130 15.0);
Tailwind
colors: {
  custom: {
    50: '#a55e64',
    500: '#78172b',
    950: '#000000',
  },
}
SCSS
$custom: #78172b;
$custom-light: #a55e64;
$custom-dark: #000000;
JSON
{
  "hex": "#78172b",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 43
  },
  "hsl": {
    "h": 347.629,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37945,
    "c": 0.13044,
    "h": 15
  },
  "luminance": 0.0478
}

Semantic roles & 50–950 ramp

primary
#78172B
secondary
#3EAD96
accent
#EBC73D
background
#FAF5F5
surface
#F4EAEA
border
#CEC6C6
text
#100505
muted
#7F7979

Preview Lab

Preview with #78172B

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

Preview Lab → · Contrast checker → · Palette generator →

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