#781917#781917

#781917 is a dark, vivid red. Relative luminance 0.048; OKLCH L 37.8% C 0.130 H 27.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#781917
RGBrgb(120, 25, 23)
HSLhsl(1, 68%, 28%)
HSVhsv(1, 81%, 47%)
CMYKcmyk(0%, 79.2%, 80.8%, 52.9%)
CIE-LABlab(26.01, 40.27, 26.81)
CIE-LCHlch(26.01, 48.38, 33.65°)
OKLaboklab(37.77% 0.1158 0.0589)
OKLCHoklch(37.77% 0.13 27)
XYZxyz(8.2490, 4.7515, 1.2932)
Luminance0.0475 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781917 #177678
analogous
#781745 #781917 #784917
triadic
#781917 #177819 #191778
tetradic
#781917 #457817 #177678 #491778
square
#781917 #457817 #177678 #491778
split-complementary
#781917 #177849 #174578
monochromatic
#1A0505 #450E0D #781917 #AB2421 #D83532

Accessibility & contrast

On white

10.77
#781917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#781917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781917
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781917#FFFFFF#000000##FFFFFF
##7819171.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781917;
/* rgb */ color: rgb(120, 25, 23);
/* oklch */ color: oklch(37.8% 0.130 27.0);
Tailwind
colors: {
  custom: {
    50: '#a75f54',
    500: '#781917',
    950: '#000000',
  },
}
SCSS
$custom: #781917;
$custom-light: #a75f54;
$custom-dark: #000000;
JSON
{
  "hex": "#781917",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 23
  },
  "hsl": {
    "h": 1.237,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37773,
    "c": 0.12993,
    "h": 27
  },
  "luminance": 0.0475
}

Semantic roles & 50–950 ramp

primary
#781917
secondary
#3EABAD
accent
#E7EB3D
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110503
muted
#807978

Preview Lab

Preview with #781917

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

Preview Lab → · Contrast checker → · Palette generator →

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