#781A1C#781A1C

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

Color values

HEX#781A1C
RGBrgb(120, 26, 28)
HSLhsl(359, 64%, 29%)
HSVhsv(359, 78%, 47%)
CMYKcmyk(0%, 78.3%, 76.7%, 52.9%)
CIE-LABlab(26.21, 40.13, 23.89)
CIE-LCHlch(26.21, 46.70, 30.76°)
OKLaboklab(37.94% 0.1165 0.0539)
OKLCHoklch(37.94% 0.128 24.8)
XYZxyz(8.3257, 4.8170, 1.5898)
Luminance0.0482 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A1C #1A7876
analogous
#781A4B #781A1C #78471A
triadic
#781A1C #1C781A #1A1C78
tetradic
#781A1C #4B781A #1A7876 #471A78
square
#781A1C #4B781A #1A7876 #471A78
split-complementary
#781A1C #1A7847 #1A4B78
monochromatic
#190506 #460F10 #781A1C #AA2528 #D4383C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##781A1C#FFFFFF#000000##FFFFFF
##781A1C1.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)
#36311B
Deuteranopia (green-blind)
#4E4519
Tritanopia (blue-blind)
#85001C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #781a1c;
/* rgb */ color: rgb(120, 26, 28);
/* oklch */ color: oklch(37.9% 0.128 24.8);
Tailwind
colors: {
  custom: {
    50: '#a65f58',
    500: '#781a1c',
    950: '#000000',
  },
}
SCSS
$custom: #781a1c;
$custom-light: #a65f58;
$custom-dark: #000000;
JSON
{
  "hex": "#781a1c",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 28
  },
  "hsl": {
    "h": 358.723,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37937,
    "c": 0.1284,
    "h": 24.8
  },
  "luminance": 0.04816
}

Semantic roles & 50–950 ramp

primary
#781A1C
secondary
#41ACAA
accent
#E7E440
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #781A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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