#781C17#781C17

#781C17 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.1% C 0.127 H 28.0°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#781C17
RGBrgb(120, 28, 23)
HSLhsl(3, 68%, 28%)
HSVhsv(3, 81%, 47%)
CMYKcmyk(0%, 76.7%, 80.8%, 52.9%)
CIE-LABlab(26.41, 39.18, 27.22)
CIE-LCHlch(26.41, 47.71, 34.80°)
OKLaboklab(38.07% 0.1124 0.0598)
OKLCHoklch(38.07% 0.127 28)
XYZxyz(8.3166, 4.8867, 1.3158)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C17 #177378
analogous
#781742 #781C17 #784C17
triadic
#781C17 #17781C #1C1778
tetradic
#781C17 #427817 #177378 #4C1778
square
#781C17 #427817 #177378 #4C1778
split-complementary
#781C17 #17784C #174278
monochromatic
#1A0605 #45100D #781C17 #AB2821 #D83A32

Accessibility & contrast

On white

10.62
#781C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#781C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781C17
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C17#FFFFFF#000000##FFFFFF
##781C171.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781c17;
/* rgb */ color: rgb(120, 28, 23);
/* oklch */ color: oklch(38.1% 0.127 28.0);
Tailwind
colors: {
  custom: {
    50: '#a76054',
    500: '#781c17',
    950: '#000000',
  },
}
SCSS
$custom: #781c17;
$custom-light: #a76054;
$custom-dark: #000000;
JSON
{
  "hex": "#781c17",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 23
  },
  "hsl": {
    "h": 3.093,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38067,
    "c": 0.12729,
    "h": 28
  },
  "luminance": 0.04885
}

Semantic roles & 50–950 ramp

primary
#781C17
secondary
#3EA7AD
accent
#E2EB3D
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110503
muted
#807978

Preview Lab

Preview with #781C17

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

Preview Lab → · Contrast checker → · Palette generator →

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