#782A16#782A16

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

Color values

HEX#782A16
RGBrgb(120, 42, 22)
HSLhsl(12, 69%, 28%)
HSVhsv(12, 82%, 47%)
CMYKcmyk(0%, 65%, 81.7%, 52.9%)
CIE-LABlab(28.66, 32.99, 30.14)
CIE-LCHlch(28.66, 44.68, 42.41°)
OKLaboklab(39.76% 0.0929 0.0658)
OKLCHoklch(39.76% 0.114 35.3)
XYZxyz(8.7195, 5.7082, 1.4015)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782A16 #166478
analogous
#781633 #782A16 #785B16
triadic
#782A16 #16782A #2A1678
tetradic
#782A16 #337816 #166478 #5B1678
square
#782A16 #337816 #166478 #5B1678
split-complementary
#782A16 #16785B #163378
monochromatic
#1A0905 #44180D #782A16 #AC3C1F #D9522F

Accessibility & contrast

On white

9.81
#782A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782A16
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782A16#FFFFFF#000000##FFFFFF
##782A161.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403913
Deuteranopia (green-blind)
#534A13
Tritanopia (blue-blind)
#841626
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #782a16;
/* rgb */ color: rgb(120, 42, 22);
/* oklch */ color: oklch(39.8% 0.114 35.3);
Tailwind
colors: {
  custom: {
    50: '#a66754',
    500: '#782a16',
    950: '#000000',
  },
}
SCSS
$custom: #782a16;
$custom-light: #a66754;
$custom-dark: #000000;
JSON
{
  "hex": "#782a16",
  "rgb": {
    "r": 120,
    "g": 42,
    "b": 22
  },
  "hsl": {
    "h": 12.245,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39755,
    "c": 0.11382,
    "h": 35.3
  },
  "luminance": 0.05707
}

Semantic roles & 50–950 ramp

primary
#782A16
secondary
#3C96AD
accent
#C8EC3C
background
#FBF6F4
surface
#F5EBE8
border
#CFC6C4
text
#110603
muted
#807A78

Preview Lab

Preview with #782A16

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

Preview Lab → · Contrast checker → · Palette generator →

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