#781C1A#781C1A

#781C1A is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.1% C 0.127 H 26.6°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#781C1A
RGBrgb(120, 28, 26)
HSLhsl(1, 64%, 29%)
HSVhsv(1, 78%, 47%)
CMYKcmyk(0%, 76.7%, 78.3%, 52.9%)
CIE-LABlab(26.45, 39.30, 25.42)
CIE-LCHlch(26.45, 46.80, 32.89°)
OKLaboklab(38.11% 0.1134 0.0568)
OKLCHoklch(38.11% 0.127 26.6)
XYZxyz(8.3484, 4.8994, 1.4832)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C1A #1A7678
analogous
#781A47 #781C1A #784B1A
triadic
#781C1A #1A781C #1C1A78
tetradic
#781C1A #47781A #1A7678 #4B1A78
square
#781C1A #47781A #1A7678 #4B1A78
split-complementary
#781C1A #1A784B #1A4778
monochromatic
#190605 #46100F #781C1A #AA2825 #D43C38

Accessibility & contrast

On white

10.61
#781C1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#781C1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781C1A
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C1A#FFFFFF#000000##FFFFFF
##781C1A1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373219
Deuteranopia (green-blind)
#4E4616
Tritanopia (blue-blind)
#85001D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #781c1a;
/* rgb */ color: rgb(120, 28, 26);
/* oklch */ color: oklch(38.1% 0.127 26.6);
Tailwind
colors: {
  custom: {
    50: '#a66057',
    500: '#781c1a',
    950: '#000000',
  },
}
SCSS
$custom: #781c1a;
$custom-light: #a66057;
$custom-dark: #000000;
JSON
{
  "hex": "#781c1a",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 26
  },
  "hsl": {
    "h": 1.277,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38106,
    "c": 0.12684,
    "h": 26.6
  },
  "luminance": 0.04898
}

Semantic roles & 50–950 ramp

primary
#781C1A
secondary
#41AAAC
accent
#E4E740
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #781C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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