#781A1B#781A1B

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

Color values

HEX#781A1B
RGBrgb(120, 26, 27)
HSLhsl(359, 64%, 29%)
HSVhsv(359, 78%, 47%)
CMYKcmyk(0%, 78.3%, 77.5%, 52.9%)
CIE-LABlab(26.19, 40.08, 24.51)
CIE-LCHlch(26.19, 46.98, 31.44°)
OKLaboklab(37.92% 0.1162 0.055)
OKLCHoklch(37.92% 0.129 25.4)
XYZxyz(8.3139, 4.8123, 1.5278)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A1B #1A7877
analogous
#781A4A #781A1B #78481A
triadic
#781A1B #1B781A #1A1B78
tetradic
#781A1B #4A781A #1A7877 #481A78
square
#781A1B #4A781A #1A7877 #481A78
split-complementary
#781A1B #1A7848 #1A4A78
monochromatic
#190506 #460F10 #781A1B #AA2526 #D4383A

Accessibility & contrast

On white

10.70
#781A1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781A1B
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A1B#FFFFFF#000000##FFFFFF
##781A1B1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311A
Deuteranopia (green-blind)
#4E4517
Tritanopia (blue-blind)
#85001C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #781a1b;
/* rgb */ color: rgb(120, 26, 27);
/* oklch */ color: oklch(37.9% 0.129 25.4);
Tailwind
colors: {
  custom: {
    50: '#a65f57',
    500: '#781a1b',
    950: '#000000',
  },
}
SCSS
$custom: #781a1b;
$custom-light: #a65f57;
$custom-dark: #000000;
JSON
{
  "hex": "#781a1b",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 27
  },
  "hsl": {
    "h": 359.362,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37922,
    "c": 0.12853,
    "h": 25.4
  },
  "luminance": 0.04811
}

Semantic roles & 50–950 ramp

primary
#781A1B
secondary
#41ACAB
accent
#E7E640
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #781A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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