#781E17#781E17

#781E17 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.3% C 0.125 H 28.8°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#781E17
RGBrgb(120, 30, 23)
HSLhsl(4, 68%, 28%)
HSVhsv(4, 81%, 47%)
CMYKcmyk(0%, 75%, 80.8%, 52.9%)
CIE-LABlab(26.69, 38.40, 27.52)
CIE-LCHlch(26.69, 47.24, 35.63°)
OKLaboklab(38.28% 0.1099 0.0604)
OKLCHoklch(38.28% 0.125 28.8)
XYZxyz(8.3656, 4.9848, 1.3321)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E17 #177178
analogous
#781740 #781E17 #784E17
triadic
#781E17 #17781E #1E1778
tetradic
#781E17 #407817 #177178 #4E1778
square
#781E17 #407817 #177178 #4E1778
split-complementary
#781E17 #17784E #174078
monochromatic
#1A0605 #45110D #781E17 #AB2B21 #D83E32

Accessibility & contrast

On white

10.52
#781E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#781E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E17
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E17#FFFFFF#000000##FFFFFF
##781E171.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393315
Deuteranopia (green-blind)
#4F4613
Tritanopia (blue-blind)
#85001D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #781e17;
/* rgb */ color: rgb(120, 30, 23);
/* oklch */ color: oklch(38.3% 0.125 28.8);
Tailwind
colors: {
  custom: {
    50: '#a76154',
    500: '#781e17',
    950: '#000000',
  },
}
SCSS
$custom: #781e17;
$custom-light: #a76154;
$custom-dark: #000000;
JSON
{
  "hex": "#781e17",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 23
  },
  "hsl": {
    "h": 4.33,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38278,
    "c": 0.12544,
    "h": 28.8
  },
  "luminance": 0.04983
}

Semantic roles & 50–950 ramp

primary
#781E17
secondary
#3EA5AD
accent
#DEEB3D
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110503
muted
#807978

Preview Lab

Preview with #781E17

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

Preview Lab → · Contrast checker → · Palette generator →

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