#782D22#782D22

#782D22 is a dark, moderate red. Relative luminance 0.060; OKLCH L 40.3% C 0.108 H 30.7°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#782D22
RGBrgb(120, 45, 34)
HSLhsl(8, 56%, 30%)
HSVhsv(8, 72%, 47%)
CMYKcmyk(0%, 62.5%, 71.7%, 52.9%)
CIE-LABlab(29.38, 32.08, 23.80)
CIE-LCHlch(29.38, 39.94, 36.57°)
OKLaboklab(40.34% 0.0925 0.055)
OKLCHoklch(40.34% 0.108 30.7)
XYZxyz(8.9737, 5.9865, 2.1960)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782D22 #226D78
analogous
#782242 #782D22 #785822
triadic
#782D22 #22782D #2D2278
tetradic
#782D22 #427822 #226D78 #582278
square
#782D22 #427822 #226D78 #582278
split-complementary
#782D22 #227858 #224278
monochromatic
#190907 #481B14 #782D22 #A83F30 #CB5A49

Accessibility & contrast

On white

9.56
#782D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#782D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782D22
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782D22#FFFFFF#000000##FFFFFF
##782D221.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B21
Deuteranopia (green-blind)
#544B20
Tritanopia (blue-blind)
#841D2B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #782d22;
/* rgb */ color: rgb(120, 45, 34);
/* oklch */ color: oklch(40.3% 0.108 30.7);
Tailwind
colors: {
  custom: {
    50: '#a5695d',
    500: '#782d22',
    950: '#000000',
  },
}
SCSS
$custom: #782d22;
$custom-light: #a5695d;
$custom-dark: #000000;
JSON
{
  "hex": "#782d22",
  "rgb": {
    "r": 120,
    "g": 45,
    "b": 34
  },
  "hsl": {
    "h": 7.674,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40341,
    "c": 0.10764,
    "h": 30.7
  },
  "luminance": 0.05985
}

Semantic roles & 50–950 ramp

primary
#782D22
secondary
#4B9FAB
accent
#CCDF49
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100604
muted
#7F7A79

Preview Lab

Preview with #782D22

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

Preview Lab → · Contrast checker → · Palette generator →

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