#78181C#78181C

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

Color values

HEX#78181C
RGBrgb(120, 24, 28)
HSLhsl(358, 67%, 28%)
HSVhsv(358, 80%, 47%)
CMYKcmyk(0%, 80%, 76.7%, 52.9%)
CIE-LABlab(25.96, 40.83, 23.60)
CIE-LCHlch(25.96, 47.16, 30.03°)
OKLaboklab(37.75% 0.1188 0.0533)
OKLCHoklch(37.75% 0.13 24.2)
XYZxyz(8.2829, 4.7315, 1.5755)
Luminance0.0473 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78181C #187874
analogous
#78184C #78181C #784418
triadic
#78181C #1C7818 #181C78
tetradic
#78181C #4C7818 #187874 #441878
square
#78181C #4C7818 #187874 #441878
split-complementary
#78181C #187844 #184C78
monochromatic
#1A0506 #450E10 #78181C #AB2228 #D6343B

Accessibility & contrast

On white

10.79
#78181C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78181C
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78181C#FFFFFF#000000##FFFFFF
##78181C1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78181c;
/* rgb */ color: rgb(120, 24, 28);
/* oklch */ color: oklch(37.8% 0.130 24.2);
Tailwind
colors: {
  custom: {
    50: '#a65e58',
    500: '#78181c',
    950: '#000000',
  },
}
SCSS
$custom: #78181c;
$custom-light: #a65e58;
$custom-dark: #000000;
JSON
{
  "hex": "#78181c",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 28
  },
  "hsl": {
    "h": 357.5,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3775,
    "c": 0.13017,
    "h": 24.2
  },
  "luminance": 0.0473
}

Semantic roles & 50–950 ramp

primary
#78181C
secondary
#3FADA8
accent
#EAE23E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #78181C

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

Preview Lab → · Contrast checker → · Palette generator →

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