#781B17#781B17

#781B17 is a dark, vivid red. Relative luminance 0.048; OKLCH L 38.0% C 0.128 H 27.7°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#781B17
RGBrgb(120, 27, 23)
HSLhsl(2, 68%, 28%)
HSVhsv(2, 81%, 47%)
CMYKcmyk(0%, 77.5%, 80.8%, 52.9%)
CIE-LABlab(26.27, 39.55, 27.08)
CIE-LCHlch(26.27, 47.93, 34.40°)
OKLaboklab(37.97% 0.1136 0.0595)
OKLCHoklch(37.97% 0.128 27.7)
XYZxyz(8.2933, 4.8401, 1.3080)
Luminance0.0484 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B17 #177478
analogous
#781743 #781B17 #784B17
triadic
#781B17 #17781B #1B1778
tetradic
#781B17 #437817 #177478 #4B1778
square
#781B17 #437817 #177478 #4B1778
split-complementary
#781B17 #17784B #174378
monochromatic
#1A0605 #450F0D #781B17 #AB2721 #D83932

Accessibility & contrast

On white

10.67
#781B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#781B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B17
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B17#FFFFFF#000000##FFFFFF
##781B171.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781b17;
/* rgb */ color: rgb(120, 27, 23);
/* oklch */ color: oklch(38.0% 0.128 27.7);
Tailwind
colors: {
  custom: {
    50: '#a76054',
    500: '#781b17',
    950: '#000000',
  },
}
SCSS
$custom: #781b17;
$custom-light: #a76054;
$custom-dark: #000000;
JSON
{
  "hex": "#781b17",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 23
  },
  "hsl": {
    "h": 2.474,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37966,
    "c": 0.12819,
    "h": 27.7
  },
  "luminance": 0.04839
}

Semantic roles & 50–950 ramp

primary
#781B17
secondary
#3EA9AD
accent
#E4EB3D
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110503
muted
#807978

Preview Lab

Preview with #781B17

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

Preview Lab → · Contrast checker → · Palette generator →

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