#781A17#781A17

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

Color values

HEX#781A17
RGBrgb(120, 26, 23)
HSLhsl(2, 68%, 28%)
HSVhsv(2, 81%, 47%)
CMYKcmyk(0%, 78.3%, 80.8%, 52.9%)
CIE-LABlab(26.14, 39.92, 26.94)
CIE-LCHlch(26.14, 48.16, 34.02°)
OKLaboklab(37.87% 0.1147 0.0592)
OKLCHoklch(37.87% 0.129 27.3)
XYZxyz(8.2708, 4.7950, 1.3005)
Luminance0.0479 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A17 #177578
analogous
#781744 #781A17 #784A17
triadic
#781A17 #17781A #1A1778
tetradic
#781A17 #447817 #177578 #4A1778
square
#781A17 #447817 #177578 #4A1778
split-complementary
#781A17 #17784A #174478
monochromatic
#1A0605 #450F0D #781A17 #AB2521 #D83732

Accessibility & contrast

On white

10.72
#781A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781A17
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A17#FFFFFF#000000##FFFFFF
##781A171.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373116
Deuteranopia (green-blind)
#4E4513
Tritanopia (blue-blind)
#85001A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #781a17;
/* rgb */ color: rgb(120, 26, 23);
/* oklch */ color: oklch(37.9% 0.129 27.3);
Tailwind
colors: {
  custom: {
    50: '#a75f54',
    500: '#781a17',
    950: '#000000',
  },
}
SCSS
$custom: #781a17;
$custom-light: #a75f54;
$custom-dark: #000000;
JSON
{
  "hex": "#781a17",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 23
  },
  "hsl": {
    "h": 1.856,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37868,
    "c": 0.12907,
    "h": 27.3
  },
  "luminance": 0.04794
}

Semantic roles & 50–950 ramp

primary
#781A17
secondary
#3EAAAD
accent
#E5EB3D
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110503
muted
#807978

Preview Lab

Preview with #781A17

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

Preview Lab → · Contrast checker → · Palette generator →

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