#782D17#782D17

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

Color values

HEX#782D17
RGBrgb(120, 45, 23)
HSLhsl(14, 68%, 28%)
HSVhsv(14, 81%, 47%)
CMYKcmyk(0%, 62.5%, 80.8%, 52.9%)
CIE-LABlab(29.24, 31.52, 30.17)
CIE-LCHlch(29.24, 43.63, 43.74°)
OKLaboklab(40.2% 0.0886 0.0662)
OKLCHoklch(40.2% 0.111 36.8)
XYZxyz(8.8397, 5.9329, 1.4901)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782D17 #176278
analogous
#781732 #782D17 #785D17
triadic
#782D17 #17782D #2D1778
tetradic
#782D17 #327817 #176278 #5D1778
square
#782D17 #327817 #176278 #5D1778
split-complementary
#782D17 #17785D #173278
monochromatic
#1A0A05 #451A0D #782D17 #AB4021 #D85732

Accessibility & contrast

On white

9.60
#782D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#782D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782D17
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782D17#FFFFFF#000000##FFFFFF
##782D171.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A14
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#841B28
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #782d17;
/* rgb */ color: rgb(120, 45, 23);
/* oklch */ color: oklch(40.2% 0.111 36.8);
Tailwind
colors: {
  custom: {
    50: '#a66955',
    500: '#782d17',
    950: '#000000',
  },
}
SCSS
$custom: #782d17;
$custom-light: #a66955;
$custom-dark: #000000;
JSON
{
  "hex": "#782d17",
  "rgb": {
    "r": 120,
    "g": 45,
    "b": 23
  },
  "hsl": {
    "h": 13.608,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40195,
    "c": 0.11056,
    "h": 36.8
  },
  "luminance": 0.05932
}

Semantic roles & 50–950 ramp

primary
#782D17
secondary
#3E94AD
accent
#C3EB3D
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #782D17

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

Preview Lab → · Contrast checker → · Palette generator →

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