#781B18#781B18

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

Color values

HEX#781B18
RGBrgb(120, 27, 24)
HSLhsl(2, 67%, 28%)
HSVhsv(2, 80%, 47%)
CMYKcmyk(0%, 77.5%, 80%, 52.9%)
CIE-LABlab(26.29, 39.59, 26.48)
CIE-LCHlch(26.29, 47.63, 33.78°)
OKLaboklab(37.98% 0.1139 0.0585)
OKLCHoklch(37.98% 0.128 27.2)
XYZxyz(8.3035, 4.8442, 1.3618)
Luminance0.0484 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B18 #187578
analogous
#781845 #781B18 #784B18
triadic
#781B18 #18781B #1B1878
tetradic
#781B18 #457818 #187578 #4B1878
square
#781B18 #457818 #187578 #4B1878
split-complementary
#781B18 #18784B #184578
monochromatic
#1A0605 #45100E #781B18 #AB2622 #D63934

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##781B18#FFFFFF#000000##FFFFFF
##781B181.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)
#373117
Deuteranopia (green-blind)
#4E4614
Tritanopia (blue-blind)
#85001B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #781b18;
/* rgb */ color: rgb(120, 27, 24);
/* oklch */ color: oklch(38.0% 0.128 27.2);
Tailwind
colors: {
  custom: {
    50: '#a76055',
    500: '#781b18',
    950: '#000000',
  },
}
SCSS
$custom: #781b18;
$custom-light: #a76055;
$custom-dark: #000000;
JSON
{
  "hex": "#781b18",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 24
  },
  "hsl": {
    "h": 1.875,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37979,
    "c": 0.12804,
    "h": 27.2
  },
  "luminance": 0.04843
}

Semantic roles & 50–950 ramp

primary
#781B18
secondary
#3FA9AD
accent
#E4EA3E
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#110503
muted
#807978

Preview Lab

Preview with #781B18

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

Preview Lab → · Contrast checker → · Palette generator →

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