#782218#782218

#782218 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.7% C 0.121 H 30.1°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#782218
RGBrgb(120, 34, 24)
HSLhsl(6, 67%, 28%)
HSVhsv(6, 80%, 47%)
CMYKcmyk(0%, 71.7%, 80%, 52.9%)
CIE-LABlab(27.31, 36.77, 27.57)
CIE-LCHlch(27.31, 45.96, 36.86°)
OKLaboklab(38.74% 0.1051 0.0609)
OKLCHoklch(38.74% 0.121 30.1)
XYZxyz(8.4836, 5.2043, 1.4218)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782218 #186E78
analogous
#78183E #782218 #785218
triadic
#782218 #187822 #221878
tetradic
#782218 #3E7818 #186E78 #521878
square
#782218 #3E7818 #186E78 #521878
split-complementary
#782218 #187852 #183E78
monochromatic
#1A0705 #45140E #782218 #AB3022 #D64534

Accessibility & contrast

On white

10.29
#782218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#782218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782218
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782218#FFFFFF#000000##FFFFFF
##7822181.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #782218;
/* rgb */ color: rgb(120, 34, 24);
/* oklch */ color: oklch(38.7% 0.121 30.1);
Tailwind
colors: {
  custom: {
    50: '#a66355',
    500: '#782218',
    950: '#000000',
  },
}
SCSS
$custom: #782218;
$custom-light: #a66355;
$custom-dark: #000000;
JSON
{
  "hex": "#782218",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 24
  },
  "hsl": {
    "h": 6.25,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38744,
    "c": 0.12142,
    "h": 30.1
  },
  "luminance": 0.05203
}

Semantic roles & 50–950 ramp

primary
#782218
secondary
#3FA1AD
accent
#D8EA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78

Preview Lab

Preview with #782218

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

Preview Lab → · Contrast checker → · Palette generator →

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