#78181A#78181A

#78181A is a dark, vivid red. Relative luminance 0.047; OKLCH L 37.7% C 0.130 H 25.2°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#78181A
RGBrgb(120, 24, 26)
HSLhsl(359, 67%, 28%)
HSVhsv(359, 80%, 47%)
CMYKcmyk(0%, 80%, 78.3%, 52.9%)
CIE-LABlab(25.93, 40.74, 24.84)
CIE-LCHlch(25.93, 47.72, 31.37°)
OKLaboklab(37.72% 0.118 0.0555)
OKLCHoklch(37.72% 0.13 25.2)
XYZxyz(8.2598, 4.7222, 1.4536)
Luminance0.0472 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78181A #187876
analogous
#78184A #78181A #784618
triadic
#78181A #1A7818 #181A78
tetradic
#78181A #4A7818 #187876 #461878
square
#78181A #4A7818 #187876 #461878
split-complementary
#78181A #187846 #184A78
monochromatic
#1A0506 #450E0F #78181A #AB2225 #D63437

Accessibility & contrast

On white

10.80
#78181A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#78181A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78181A
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78181A#FFFFFF#000000##FFFFFF
##78181A1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353019
Deuteranopia (green-blind)
#4D4516
Tritanopia (blue-blind)
#85001A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #78181a;
/* rgb */ color: rgb(120, 24, 26);
/* oklch */ color: oklch(37.7% 0.130 25.2);
Tailwind
colors: {
  custom: {
    50: '#a75e56',
    500: '#78181a',
    950: '#000000',
  },
}
SCSS
$custom: #78181a;
$custom-light: #a75e56;
$custom-dark: #000000;
JSON
{
  "hex": "#78181a",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 26
  },
  "hsl": {
    "h": 358.75,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37721,
    "c": 0.1304,
    "h": 25.2
  },
  "luminance": 0.04721
}

Semantic roles & 50–950 ramp

primary
#78181A
secondary
#3FADAB
accent
#EAE63E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #78181A

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

Preview Lab → · Contrast checker → · Palette generator →

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