#78181F#78181F

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

Color values

HEX#78181F
RGBrgb(120, 24, 31)
HSLhsl(356, 67%, 28%)
HSVhsv(356, 80%, 47%)
CMYKcmyk(0%, 80%, 74.2%, 52.9%)
CIE-LABlab(26.00, 40.98, 21.71)
CIE-LCHlch(26.00, 46.37, 27.92°)
OKLaboklab(37.8% 0.1199 0.0498)
OKLCHoklch(37.8% 0.13 22.6)
XYZxyz(8.3206, 4.7466, 1.7741)
Luminance0.0474 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78181F #187871
analogous
#78184F #78181F #784118
triadic
#78181F #1F7818 #181F78
tetradic
#78181F #4F7818 #187871 #411878
square
#78181F #4F7818 #187871 #411878
split-complementary
#78181F #187841 #184F78
monochromatic
#1A0507 #450E12 #78181F #AB222C #D63440

Accessibility & contrast

On white

10.77
#78181F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#78181F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78181F
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78181F#FFFFFF#000000##FFFFFF
##78181F1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301E
Deuteranopia (green-blind)
#4D451C
Tritanopia (blue-blind)
#85001C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #78181f;
/* rgb */ color: rgb(120, 24, 31);
/* oklch */ color: oklch(37.8% 0.130 22.6);
Tailwind
colors: {
  custom: {
    50: '#a65e5a',
    500: '#78181f',
    950: '#000000',
  },
}
SCSS
$custom: #78181f;
$custom-light: #a65e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#78181f",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 31
  },
  "hsl": {
    "h": 355.625,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37797,
    "c": 0.12987,
    "h": 22.6
  },
  "luminance": 0.04745
}

Semantic roles & 50–950 ramp

primary
#78181F
secondary
#3FADA5
accent
#EADD3E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #78181F

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

Preview Lab → · Contrast checker → · Palette generator →

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