#782C22#782C22

#782C22 is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.2% C 0.109 H 30.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#782C22
RGBrgb(120, 44, 34)
HSLhsl(7, 56%, 30%)
HSVhsv(7, 72%, 47%)
CMYKcmyk(0%, 63.3%, 71.7%, 52.9%)
CIE-LABlab(29.19, 32.58, 23.57)
CIE-LCHlch(29.19, 40.22, 35.88°)
OKLaboklab(40.2% 0.0941 0.0545)
OKLCHoklch(40.2% 0.109 30.1)
XYZxyz(8.9360, 5.9111, 2.1835)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782C22 #226E78
analogous
#782243 #782C22 #785722
triadic
#782C22 #22782C #2C2278
tetradic
#782C22 #437822 #226E78 #572278
square
#782C22 #437822 #226E78 #572278
split-complementary
#782C22 #227857 #224378
monochromatic
#190907 #481B14 #782C22 #A83D30 #CB5849

Accessibility & contrast

On white

9.62
#782C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#782C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782C22
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782C22#FFFFFF#000000##FFFFFF
##782C221.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A21
Deuteranopia (green-blind)
#534B20
Tritanopia (blue-blind)
#841B2A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #782c22;
/* rgb */ color: rgb(120, 44, 34);
/* oklch */ color: oklch(40.2% 0.109 30.1);
Tailwind
colors: {
  custom: {
    50: '#a5695d',
    500: '#782c22',
    950: '#000000',
  },
}
SCSS
$custom: #782c22;
$custom-light: #a5695d;
$custom-dark: #000000;
JSON
{
  "hex": "#782c22",
  "rgb": {
    "r": 120,
    "g": 44,
    "b": 34
  },
  "hsl": {
    "h": 6.977,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40197,
    "c": 0.10876,
    "h": 30.1
  },
  "luminance": 0.0591
}

Semantic roles & 50–950 ramp

primary
#782C22
secondary
#4BA0AB
accent
#CEDF49
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100604
muted
#7F7A79

Preview Lab

Preview with #782C22

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

Preview Lab → · Contrast checker → · Palette generator →

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