#782118#782118

#782118 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.6% C 0.122 H 29.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#782118
RGBrgb(120, 33, 24)
HSLhsl(6, 67%, 28%)
HSVhsv(6, 80%, 47%)
CMYKcmyk(0%, 72.5%, 80%, 52.9%)
CIE-LABlab(27.15, 37.20, 27.41)
CIE-LCHlch(27.15, 46.21, 36.38°)
OKLaboklab(38.63% 0.1064 0.0605)
OKLCHoklch(38.63% 0.122 29.6)
XYZxyz(8.4554, 5.1480, 1.4124)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782118 #186F78
analogous
#78183F #782118 #785118
triadic
#782118 #187821 #211878
tetradic
#782118 #3F7818 #186F78 #511878
square
#782118 #3F7818 #186F78 #511878
split-complementary
#782118 #187851 #183F78
monochromatic
#1A0705 #45130E #782118 #AB2F22 #D64334

Accessibility & contrast

On white

10.35
#782118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#782118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782118
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782118#FFFFFF#000000##FFFFFF
##7821181.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3416
Deuteranopia (green-blind)
#504715
Tritanopia (blue-blind)
#850320
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #782118;
/* rgb */ color: rgb(120, 33, 24);
/* oklch */ color: oklch(38.6% 0.122 29.6);
Tailwind
colors: {
  custom: {
    50: '#a66255',
    500: '#782118',
    950: '#000000',
  },
}
SCSS
$custom: #782118;
$custom-light: #a66255;
$custom-dark: #000000;
JSON
{
  "hex": "#782118",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 24
  },
  "hsl": {
    "h": 5.625,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38626,
    "c": 0.1224,
    "h": 29.6
  },
  "luminance": 0.05147
}

Semantic roles & 50–950 ramp

primary
#782118
secondary
#3FA3AD
accent
#DAEA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78

Preview Lab

Preview with #782118

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

Preview Lab → · Contrast checker → · Palette generator →

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