#781717#781717

#781717 is a dark, vivid red. Relative luminance 0.047; OKLCH L 37.6% C 0.132 H 26.3°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#781717
RGBrgb(120, 23, 23)
HSLhsl(0, 68%, 28%)
HSVhsv(0, 81%, 47%)
CMYKcmyk(0%, 80.8%, 80.8%, 52.9%)
CIE-LABlab(25.77, 40.96, 26.55)
CIE-LCHlch(25.77, 48.81, 32.95°)
OKLaboklab(37.59% 0.118 0.0583)
OKLCHoklch(37.59% 0.132 26.3)
XYZxyz(8.2078, 4.6690, 1.2795)
Luminance0.0467 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781717 #177878
analogous
#781747 #781717 #784717
triadic
#781717 #177817 #171778
tetradic
#781717 #477817 #177878 #471778
square
#781717 #477817 #177878 #471778
split-complementary
#781717 #177847 #174778
monochromatic
#1A0505 #450D0D #781717 #AB2121 #D83232

Accessibility & contrast

On white

10.86
#781717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#781717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781717
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781717#FFFFFF#000000##FFFFFF
##7817171.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353016
Deuteranopia (green-blind)
#4D4513
Tritanopia (blue-blind)
#850018
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #781717;
/* rgb */ color: rgb(120, 23, 23);
/* oklch */ color: oklch(37.6% 0.132 26.3);
Tailwind
colors: {
  custom: {
    50: '#a75e54',
    500: '#781717',
    950: '#000000',
  },
}
SCSS
$custom: #781717;
$custom-light: #a75e54;
$custom-dark: #000000;
JSON
{
  "hex": "#781717",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 23
  },
  "hsl": {
    "h": 0,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37591,
    "c": 0.13161,
    "h": 26.3
  },
  "luminance": 0.04668
}

Semantic roles & 50–950 ramp

primary
#781717
secondary
#3EADAD
accent
#EBEB3D
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#110502
muted
#807978

Preview Lab

Preview with #781717

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

Preview Lab → · Contrast checker → · Palette generator →

#781717 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva