#781A1F#781A1F

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

Color values

HEX#781A1F
RGBrgb(120, 26, 31)
HSLhsl(357, 64%, 29%)
HSVhsv(357, 78%, 47%)
CMYKcmyk(0%, 78.3%, 74.2%, 52.9%)
CIE-LABlab(26.25, 40.28, 22.01)
CIE-LCHlch(26.25, 45.90, 28.65°)
OKLaboklab(37.98% 0.1177 0.0505)
OKLCHoklch(37.98% 0.128 23.2)
XYZxyz(8.3634, 4.8321, 1.7884)
Luminance0.0483 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A1F #1A7873
analogous
#781A4E #781A1F #78441A
triadic
#781A1F #1F781A #1A1F78
tetradic
#781A1F #4E781A #1A7873 #441A78
square
#781A1F #4E781A #1A7873 #441A78
split-complementary
#781A1F #1A7844 #1A4E78
monochromatic
#190506 #460F12 #781A1F #AA252C #D43841

Accessibility & contrast

On white

10.68
#781A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781A1F
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A1F#FFFFFF#000000##FFFFFF
##781A1F1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311E
Deuteranopia (green-blind)
#4D451C
Tritanopia (blue-blind)
#84001D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #781a1f;
/* rgb */ color: rgb(120, 26, 31);
/* oklch */ color: oklch(38.0% 0.128 23.2);
Tailwind
colors: {
  custom: {
    50: '#a65f5a',
    500: '#781a1f',
    950: '#000000',
  },
}
SCSS
$custom: #781a1f;
$custom-light: #a65f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#781a1f",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 31
  },
  "hsl": {
    "h": 356.809,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37983,
    "c": 0.12806,
    "h": 23.2
  },
  "luminance": 0.04831
}

Semantic roles & 50–950 ramp

primary
#781A1F
secondary
#41ACA7
accent
#E7DF40
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #781A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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