#78181B#78181B

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

Color values

HEX#78181B
RGBrgb(120, 24, 27)
HSLhsl(358, 67%, 28%)
HSVhsv(358, 80%, 47%)
CMYKcmyk(0%, 80%, 77.5%, 52.9%)
CIE-LABlab(25.94, 40.79, 24.23)
CIE-LCHlch(25.94, 47.44, 30.71°)
OKLaboklab(37.74% 0.1184 0.0544)
OKLCHoklch(37.74% 0.13 24.7)
XYZxyz(8.2712, 4.7268, 1.5135)
Luminance0.0473 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78181B #187875
analogous
#78184B #78181B #784518
triadic
#78181B #1B7818 #181B78
tetradic
#78181B #4B7818 #187875 #451878
square
#78181B #4B7818 #187875 #451878
split-complementary
#78181B #187845 #184B78
monochromatic
#1A0506 #450E10 #78181B #AB2226 #D63439

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78181B#FFFFFF#000000##FFFFFF
##78181B1.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78181b;
/* rgb */ color: rgb(120, 24, 27);
/* oklch */ color: oklch(37.7% 0.130 24.7);
Tailwind
colors: {
  custom: {
    50: '#a75e57',
    500: '#78181b',
    950: '#000000',
  },
}
SCSS
$custom: #78181b;
$custom-light: #a75e57;
$custom-dark: #000000;
JSON
{
  "hex": "#78181b",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 27
  },
  "hsl": {
    "h": 358.125,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37735,
    "c": 0.13029,
    "h": 24.7
  },
  "luminance": 0.04725
}

Semantic roles & 50–950 ramp

primary
#78181B
secondary
#3FADA9
accent
#EAE43E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #78181B

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

Preview Lab → · Contrast checker → · Palette generator →

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