#781918#781918

#781918 is a dark, vivid red. Relative luminance 0.048; OKLCH L 37.8% C 0.130 H 26.5°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#781918
RGBrgb(120, 25, 24)
HSLhsl(1, 67%, 28%)
HSVhsv(1, 80%, 47%)
CMYKcmyk(0%, 79.2%, 80%, 52.9%)
CIE-LABlab(26.03, 40.31, 26.20)
CIE-LCHlch(26.03, 48.08, 33.02°)
OKLaboklab(37.79% 0.1162 0.0579)
OKLCHoklch(37.79% 0.13 26.5)
XYZxyz(8.2592, 4.7556, 1.3470)
Luminance0.0475 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781918 #187778
analogous
#781847 #781918 #784918
triadic
#781918 #187819 #191878
tetradic
#781918 #477818 #187778 #491878
square
#781918 #477818 #187778 #491878
split-complementary
#781918 #187849 #184778
monochromatic
#1A0505 #450E0E #781918 #AB2422 #D63634

Accessibility & contrast

On white

10.76
#781918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#781918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781918
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781918#FFFFFF#000000##FFFFFF
##7819181.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363017
Deuteranopia (green-blind)
#4E4514
Tritanopia (blue-blind)
#85001A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #781918;
/* rgb */ color: rgb(120, 25, 24);
/* oklch */ color: oklch(37.8% 0.130 26.5);
Tailwind
colors: {
  custom: {
    50: '#a75f55',
    500: '#781918',
    950: '#000000',
  },
}
SCSS
$custom: #781918;
$custom-light: #a75f55;
$custom-dark: #000000;
JSON
{
  "hex": "#781918",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 24
  },
  "hsl": {
    "h": 0.625,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37786,
    "c": 0.1298,
    "h": 26.5
  },
  "luminance": 0.04754
}

Semantic roles & 50–950 ramp

primary
#781918
secondary
#3FACAD
accent
#E8EA3E
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#110503
muted
#807978

Preview Lab

Preview with #781918

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

Preview Lab → · Contrast checker → · Palette generator →

#781918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva