#782A1A#782A1A

#782A1A is a dark, moderate red. Relative luminance 0.057; OKLCH L 39.8% C 0.113 H 33.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#782A1A
RGBrgb(120, 42, 26)
HSLhsl(10, 64%, 29%)
HSVhsv(10, 78%, 47%)
CMYKcmyk(0%, 65%, 78.3%, 52.9%)
CIE-LABlab(28.71, 33.16, 27.88)
CIE-LCHlch(28.71, 43.32, 40.06°)
OKLaboklab(39.8% 0.0942 0.0621)
OKLCHoklch(39.8% 0.113 33.4)
XYZxyz(8.7611, 5.7248, 1.6207)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782A1A #1A6878
analogous
#781A39 #782A1A #78591A
triadic
#782A1A #1A782A #2A1A78
tetradic
#782A1A #39781A #1A6878 #591A78
square
#782A1A #39781A #1A6878 #591A78
split-complementary
#782A1A #1A7859 #1A3978
monochromatic
#190905 #46180F #782A1A #AA3C25 #D45338

Accessibility & contrast

On white

9.79
#782A1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#782A1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782A1A
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782A1A#FFFFFF#000000##FFFFFF
##782A1A1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403918
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#841727
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #782a1a;
/* rgb */ color: rgb(120, 42, 26);
/* oklch */ color: oklch(39.8% 0.113 33.4);
Tailwind
colors: {
  custom: {
    50: '#a66757',
    500: '#782a1a',
    950: '#000000',
  },
}
SCSS
$custom: #782a1a;
$custom-light: #a66757;
$custom-dark: #000000;
JSON
{
  "hex": "#782a1a",
  "rgb": {
    "r": 120,
    "g": 42,
    "b": 26
  },
  "hsl": {
    "h": 10.213,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39802,
    "c": 0.11284,
    "h": 33.4
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#782A1A
secondary
#419AAC
accent
#CBE740
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #782A1A

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

Preview Lab → · Contrast checker → · Palette generator →

#782A1A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva