#781C18#781C18

#781C18 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.1% C 0.127 H 27.6°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#781C18
RGBrgb(120, 28, 24)
HSLhsl(3, 67%, 28%)
HSVhsv(3, 80%, 47%)
CMYKcmyk(0%, 76.7%, 80%, 52.9%)
CIE-LABlab(26.42, 39.22, 26.63)
CIE-LCHlch(26.42, 47.40, 34.18°)
OKLaboklab(38.08% 0.1127 0.0588)
OKLCHoklch(38.08% 0.127 27.6)
XYZxyz(8.3268, 4.8908, 1.3696)
Luminance0.0489 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C18 #187478
analogous
#781844 #781C18 #784C18
triadic
#781C18 #18781C #1C1878
tetradic
#781C18 #447818 #187478 #4C1878
square
#781C18 #447818 #187478 #4C1878
split-complementary
#781C18 #18784C #184478
monochromatic
#1A0605 #45100E #781C18 #AB2822 #D63B34

Accessibility & contrast

On white

10.62
#781C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#781C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781C18
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C18#FFFFFF#000000##FFFFFF
##781C181.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781c18;
/* rgb */ color: rgb(120, 28, 24);
/* oklch */ color: oklch(38.1% 0.127 27.6);
Tailwind
colors: {
  custom: {
    50: '#a76055',
    500: '#781c18',
    950: '#000000',
  },
}
SCSS
$custom: #781c18;
$custom-light: #a76055;
$custom-dark: #000000;
JSON
{
  "hex": "#781c18",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 24
  },
  "hsl": {
    "h": 2.5,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3808,
    "c": 0.12714,
    "h": 27.6
  },
  "luminance": 0.0489
}

Semantic roles & 50–950 ramp

primary
#781C18
secondary
#3FA8AD
accent
#E2EA3E
background
#FBF5F5
surface
#F6EAE8
border
#D0C6C4
text
#110503
muted
#807978

Preview Lab

Preview with #781C18

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

Preview Lab → · Contrast checker → · Palette generator →

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