#781718#781718

#781718 is a dark, vivid red. Relative luminance 0.047; OKLCH L 37.6% C 0.131 H 25.8°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#781718
RGBrgb(120, 23, 24)
HSLhsl(359, 68%, 28%)
HSVhsv(359, 81%, 47%)
CMYKcmyk(0%, 80.8%, 80%, 52.9%)
CIE-LABlab(25.78, 41.00, 25.94)
CIE-LCHlch(25.78, 48.52, 32.32°)
OKLaboklab(37.6% 0.1183 0.0573)
OKLCHoklch(37.6% 0.131 25.8)
XYZxyz(8.2180, 4.6731, 1.3333)
Luminance0.0467 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781718 #177877
analogous
#781749 #781718 #784617
triadic
#781718 #187817 #171878
tetradic
#781718 #497817 #177877 #461778
square
#781718 #497817 #177877 #461778
split-complementary
#781718 #177846 #174978
monochromatic
#1A0505 #450D0E #781718 #AB2122 #D83233

Accessibility & contrast

On white

10.86
#781718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#781718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781718
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781718#FFFFFF#000000##FFFFFF
##7817181.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353017
Deuteranopia (green-blind)
#4D4514
Tritanopia (blue-blind)
#850019
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #781718;
/* rgb */ color: rgb(120, 23, 24);
/* oklch */ color: oklch(37.6% 0.131 25.8);
Tailwind
colors: {
  custom: {
    50: '#a75e55',
    500: '#781718',
    950: '#000000',
  },
}
SCSS
$custom: #781718;
$custom-light: #a75e55;
$custom-dark: #000000;
JSON
{
  "hex": "#781718",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 24
  },
  "hsl": {
    "h": 359.381,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37604,
    "c": 0.13149,
    "h": 25.8
  },
  "luminance": 0.04672
}

Semantic roles & 50–950 ramp

primary
#781718
secondary
#3EADAC
accent
#EBE93D
background
#FBF5F4
surface
#F6E9E8
border
#D0C5C4
text
#110503
muted
#807978

Preview Lab

Preview with #781718

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

Preview Lab → · Contrast checker → · Palette generator →

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