#781B1A#781B1A

#781B1A is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.0% C 0.128 H 26.2°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#781B1A
RGBrgb(120, 27, 26)
HSLhsl(1, 64%, 29%)
HSVhsv(1, 78%, 47%)
CMYKcmyk(0%, 77.5%, 78.3%, 52.9%)
CIE-LABlab(26.31, 39.68, 25.27)
CIE-LCHlch(26.31, 47.04, 32.49°)
OKLaboklab(38.01% 0.1146 0.0564)
OKLCHoklch(38.01% 0.128 26.2)
XYZxyz(8.3251, 4.8528, 1.4754)
Luminance0.0485 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B1A #1A7778
analogous
#781A48 #781B1A #784A1A
triadic
#781B1A #1A781B #1B1A78
tetradic
#781B1A #48781A #1A7778 #4A1A78
square
#781B1A #48781A #1A7778 #4A1A78
split-complementary
#781B1A #1A784A #1A4878
monochromatic
#190605 #46100F #781B1A #AA2625 #D43A38

Accessibility & contrast

On white

10.66
#781B1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#781B1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B1A
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B1A#FFFFFF#000000##FFFFFF
##781B1A1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373119
Deuteranopia (green-blind)
#4E4616
Tritanopia (blue-blind)
#85001C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #781b1a;
/* rgb */ color: rgb(120, 27, 26);
/* oklch */ color: oklch(38.0% 0.128 26.2);
Tailwind
colors: {
  custom: {
    50: '#a66057',
    500: '#781b1a',
    950: '#000000',
  },
}
SCSS
$custom: #781b1a;
$custom-light: #a66057;
$custom-dark: #000000;
JSON
{
  "hex": "#781b1a",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 26
  },
  "hsl": {
    "h": 0.638,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38006,
    "c": 0.12775,
    "h": 26.2
  },
  "luminance": 0.04852
}

Semantic roles & 50–950 ramp

primary
#781B1A
secondary
#41ABAC
accent
#E6E740
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #781B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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