#78172E#78172E

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

Color values

HEX#78172E
RGBrgb(120, 23, 46)
HSLhsl(346, 68%, 28%)
HSVhsv(346, 81%, 47%)
CMYKcmyk(0%, 80.8%, 61.7%, 52.9%)
CIE-LABlab(26.17, 42.23, 11.89)
CIE-LCHlch(26.17, 43.87, 15.72°)
OKLaboklab(38.02% 0.1273 0.0294)
OKLCHoklch(38.02% 0.131 13)
XYZxyz(8.5461, 4.8044, 3.0616)
Luminance0.0480 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78172E #177861
analogous
#78175E #78172E #783017
triadic
#78172E #2E7817 #172E78
tetradic
#78172E #5E7817 #177861 #301778
square
#78172E #5E7817 #177861 #301778
split-complementary
#78172E #177830 #175E78
monochromatic
#1A050A #450D1A #78172E #AB2142 #D83259

Accessibility & contrast

On white

10.71
#78172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78172E
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78172E#FFFFFF#000000##FFFFFF
##78172E1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32312E
Deuteranopia (green-blind)
#4B452B
Tritanopia (blue-blind)
#840021
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #78172e;
/* rgb */ color: rgb(120, 23, 46);
/* oklch */ color: oklch(38.0% 0.131 13.0);
Tailwind
colors: {
  custom: {
    50: '#a55e66',
    500: '#78172e',
    950: '#000000',
  },
}
SCSS
$custom: #78172e;
$custom-light: #a55e66;
$custom-dark: #000000;
JSON
{
  "hex": "#78172e",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 345.773,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38016,
    "c": 0.13063,
    "h": 13
  },
  "luminance": 0.04803
}

Semantic roles & 50–950 ramp

primary
#78172E
secondary
#3EAD93
accent
#EBC23D
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100505
muted
#7F797A

Preview Lab

Preview with #78172E

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

Preview Lab → · Contrast checker → · Palette generator →

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