#781818#781818

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

Color values

HEX#781818
RGBrgb(120, 24, 24)
HSLhsl(0, 67%, 28%)
HSVhsv(0, 80%, 47%)
CMYKcmyk(0%, 80%, 80%, 52.9%)
CIE-LABlab(25.90, 40.66, 26.07)
CIE-LCHlch(25.90, 48.30, 32.67°)
OKLaboklab(37.69% 0.1173 0.0576)
OKLCHoklch(37.69% 0.131 26.2)
XYZxyz(8.2382, 4.7136, 1.3400)
Luminance0.0471 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781818 #187878
analogous
#781848 #781818 #784818
triadic
#781818 #187818 #181878
tetradic
#781818 #487818 #187878 #481878
square
#781818 #487818 #187878 #481878
split-complementary
#781818 #187848 #184878
monochromatic
#1A0505 #450E0E #781818 #AB2222 #D63434

Accessibility & contrast

On white

10.81
#781818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#781818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781818
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781818#FFFFFF#000000##FFFFFF
##7818181.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781818;
/* rgb */ color: rgb(120, 24, 24);
/* oklch */ color: oklch(37.7% 0.131 26.2);
Tailwind
colors: {
  custom: {
    50: '#a75e55',
    500: '#781818',
    950: '#000000',
  },
}
SCSS
$custom: #781818;
$custom-light: #a75e55;
$custom-dark: #000000;
JSON
{
  "hex": "#781818",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 24
  },
  "hsl": {
    "h": 0,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37694,
    "c": 0.13065,
    "h": 26.2
  },
  "luminance": 0.04712
}

Semantic roles & 50–950 ramp

primary
#781818
secondary
#3FADAD
accent
#EAEA3E
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#110503
muted
#807978

Preview Lab

Preview with #781818

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

Preview Lab → · Contrast checker → · Palette generator →

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