#781B19#781B19

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

Color values

HEX#781B19
RGBrgb(120, 27, 25)
HSLhsl(1, 66%, 28%)
HSVhsv(1, 79%, 47%)
CMYKcmyk(0%, 77.5%, 79.2%, 52.9%)
CIE-LABlab(26.30, 39.63, 25.88)
CIE-LCHlch(26.30, 47.33, 33.14°)
OKLaboklab(37.99% 0.1143 0.0575)
OKLCHoklch(37.99% 0.128 26.7)
XYZxyz(8.3141, 4.8484, 1.4176)
Luminance0.0485 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B19 #197678
analogous
#781946 #781B19 #784A19
triadic
#781B19 #19781B #1B1978
tetradic
#781B19 #467819 #197678 #4A1978
square
#781B19 #467819 #197678 #4A1978
split-complementary
#781B19 #19784A #194678
monochromatic
#190605 #45100E #781B19 #AB2624 #D53A36

Accessibility & contrast

On white

10.66
#781B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781B19
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B19#FFFFFF#000000##FFFFFF
##781B191.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781b19;
/* rgb */ color: rgb(120, 27, 25);
/* oklch */ color: oklch(38.0% 0.128 26.7);
Tailwind
colors: {
  custom: {
    50: '#a76056',
    500: '#781b19',
    950: '#000000',
  },
}
SCSS
$custom: #781b19;
$custom-light: #a76056;
$custom-dark: #000000;
JSON
{
  "hex": "#781b19",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 25
  },
  "hsl": {
    "h": 1.263,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37992,
    "c": 0.1279,
    "h": 26.7
  },
  "luminance": 0.04847
}

Semantic roles & 50–950 ramp

primary
#781B19
secondary
#40AAAD
accent
#E5E83F
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #781B19

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

Preview Lab → · Contrast checker → · Palette generator →

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