#78181E#78181E

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

Color values

HEX#78181E
RGBrgb(120, 24, 30)
HSLhsl(356, 67%, 28%)
HSVhsv(356, 80%, 47%)
CMYKcmyk(0%, 80%, 75%, 52.9%)
CIE-LABlab(25.98, 40.93, 22.34)
CIE-LCHlch(25.98, 46.63, 28.63°)
OKLaboklab(37.78% 0.1195 0.051)
OKLCHoklch(37.78% 0.13 23.1)
XYZxyz(8.3077, 4.7414, 1.7058)
Luminance0.0474 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78181E #187872
analogous
#78184E #78181E #784218
triadic
#78181E #1E7818 #181E78
tetradic
#78181E #4E7818 #187872 #421878
square
#78181E #4E7818 #187872 #421878
split-complementary
#78181E #187842 #184E78
monochromatic
#1A0506 #450E11 #78181E #AB222B #D6343E

Accessibility & contrast

On white

10.78
#78181E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78181E
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78181E#FFFFFF#000000##FFFFFF
##78181E1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78181e;
/* rgb */ color: rgb(120, 24, 30);
/* oklch */ color: oklch(37.8% 0.130 23.1);
Tailwind
colors: {
  custom: {
    50: '#a65e59',
    500: '#78181e',
    950: '#000000',
  },
}
SCSS
$custom: #78181e;
$custom-light: #a65e59;
$custom-dark: #000000;
JSON
{
  "hex": "#78181e",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 30
  },
  "hsl": {
    "h": 356.25,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37781,
    "c": 0.12996,
    "h": 23.1
  },
  "luminance": 0.0474
}

Semantic roles & 50–950 ramp

primary
#78181E
secondary
#3FADA6
accent
#EADF3E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #78181E

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

Preview Lab → · Contrast checker → · Palette generator →

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