#781A18#781A18

#781A18 is a dark, vivid red. Relative luminance 0.048; OKLCH L 37.9% C 0.129 H 26.8°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#781A18
RGBrgb(120, 26, 24)
HSLhsl(1, 67%, 28%)
HSVhsv(1, 80%, 47%)
CMYKcmyk(0%, 78.3%, 80%, 52.9%)
CIE-LABlab(26.15, 39.96, 26.34)
CIE-LCHlch(26.15, 47.86, 33.39°)
OKLaboklab(37.88% 0.1151 0.0582)
OKLCHoklch(37.88% 0.129 26.8)
XYZxyz(8.2810, 4.7991, 1.3543)
Luminance0.0480 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A18 #187678
analogous
#781846 #781A18 #784A18
triadic
#781A18 #18781A #1A1878
tetradic
#781A18 #467818 #187678 #4A1878
square
#781A18 #467818 #187678 #4A1878
split-complementary
#781A18 #18784A #184678
monochromatic
#1A0605 #450F0E #781A18 #AB2522 #D63734

Accessibility & contrast

On white

10.72
#781A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#781A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A18
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A18#FFFFFF#000000##FFFFFF
##781A181.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373117
Deuteranopia (green-blind)
#4E4514
Tritanopia (blue-blind)
#85001B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #781a18;
/* rgb */ color: rgb(120, 26, 24);
/* oklch */ color: oklch(37.9% 0.129 26.8);
Tailwind
colors: {
  custom: {
    50: '#a75f55',
    500: '#781a18',
    950: '#000000',
  },
}
SCSS
$custom: #781a18;
$custom-light: #a75f55;
$custom-dark: #000000;
JSON
{
  "hex": "#781a18",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 24
  },
  "hsl": {
    "h": 1.25,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37881,
    "c": 0.12892,
    "h": 26.8
  },
  "luminance": 0.04798
}

Semantic roles & 50–950 ramp

primary
#781A18
secondary
#3FABAD
accent
#E6EA3E
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#110503
muted
#807978

Preview Lab

Preview with #781A18

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

Preview Lab → · Contrast checker → · Palette generator →

#781A18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva