#782018#782018

#782018 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.5% C 0.123 H 29.2°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#782018
RGBrgb(120, 32, 24)
HSLhsl(5, 67%, 28%)
HSVhsv(5, 80%, 47%)
CMYKcmyk(0%, 73.3%, 80%, 52.9%)
CIE-LABlab(27.00, 37.62, 27.24)
CIE-LCHlch(27.00, 46.45, 35.91°)
OKLaboklab(38.51% 0.1077 0.0602)
OKLCHoklch(38.51% 0.123 29.2)
XYZxyz(8.4281, 5.0933, 1.4033)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782018 #187078
analogous
#781840 #782018 #785018
triadic
#782018 #187820 #201878
tetradic
#782018 #407818 #187078 #501878
square
#782018 #407818 #187078 #501878
split-complementary
#782018 #187850 #184078
monochromatic
#1A0705 #45120E #782018 #AB2E22 #D64234

Accessibility & contrast

On white

10.40
#782018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#782018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782018
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782018#FFFFFF#000000##FFFFFF
##7820181.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #782018;
/* rgb */ color: rgb(120, 32, 24);
/* oklch */ color: oklch(38.5% 0.123 29.2);
Tailwind
colors: {
  custom: {
    50: '#a66255',
    500: '#782018',
    950: '#000000',
  },
}
SCSS
$custom: #782018;
$custom-light: #a66255;
$custom-dark: #000000;
JSON
{
  "hex": "#782018",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 24
  },
  "hsl": {
    "h": 5,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38511,
    "c": 0.12337,
    "h": 29.2
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#782018
secondary
#3FA4AD
accent
#DBEA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78

Preview Lab

Preview with #782018

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

Preview Lab → · Contrast checker → · Palette generator →

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