#782820#782820

#782820 is a dark, moderate red. Relative luminance 0.056; OKLCH L 39.6% C 0.114 H 28.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#782820
RGBrgb(120, 40, 32)
HSLhsl(5, 58%, 30%)
HSVhsv(5, 73%, 47%)
CMYKcmyk(0%, 66.7%, 73.3%, 52.9%)
CIE-LABlab(28.42, 34.43, 23.92)
CIE-LCHlch(28.42, 41.92, 34.79°)
OKLaboklab(39.61% 0.0995 0.0549)
OKLCHoklch(39.61% 0.114 28.9)
XYZxyz(8.7662, 5.6162, 1.9886)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782820 #207078
analogous
#782044 #782820 #785420
triadic
#782820 #207828 #282078
tetradic
#782820 #447820 #207078 #542078
square
#782820 #447820 #207078 #542078
split-complementary
#782820 #207854 #204478
monochromatic
#180806 #481813 #782820 #A8382D #CD5145

Accessibility & contrast

On white

9.89
#782820 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#782820 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782820
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782820#FFFFFF#000000##FFFFFF
##7828201.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381F
Deuteranopia (green-blind)
#524A1E
Tritanopia (blue-blind)
#841427
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #782820;
/* rgb */ color: rgb(120, 40, 32);
/* oklch */ color: oklch(39.6% 0.114 28.9);
Tailwind
colors: {
  custom: {
    50: '#a5665b',
    500: '#782820',
    950: '#000000',
  },
}
SCSS
$custom: #782820;
$custom-light: #a5665b;
$custom-dark: #000000;
JSON
{
  "hex": "#782820",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 32
  },
  "hsl": {
    "h": 5.455,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39612,
    "c": 0.1136,
    "h": 28.9
  },
  "luminance": 0.05615
}

Semantic roles & 50–950 ramp

primary
#782820
secondary
#48A2AB
accent
#D3E147
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100604
muted
#7F7A79

Preview Lab

Preview with #782820

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

Preview Lab → · Contrast checker → · Palette generator →

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