#782B17#782B17

#782B17 is a dark, moderate red. Relative luminance 0.058; OKLCH L 39.9% C 0.113 H 35.5°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#782B17
RGBrgb(120, 43, 23)
HSLhsl(12, 68%, 28%)
HSVhsv(12, 81%, 47%)
CMYKcmyk(0%, 64.2%, 80.8%, 52.9%)
CIE-LABlab(28.86, 32.53, 29.77)
CIE-LCHlch(28.86, 44.10, 42.46°)
OKLaboklab(39.91% 0.0917 0.0653)
OKLCHoklch(39.91% 0.113 35.5)
XYZxyz(8.7652, 5.7839, 1.4653)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782B17 #176478
analogous
#781733 #782B17 #785B17
triadic
#782B17 #17782B #2B1778
tetradic
#782B17 #337817 #176478 #5B1778
square
#782B17 #337817 #176478 #5B1778
split-complementary
#782B17 #17785B #173378
monochromatic
#1A0905 #45190D #782B17 #AB3D21 #D85432

Accessibility & contrast

On white

9.74
#782B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#782B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782B17
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782B17#FFFFFF#000000##FFFFFF
##782B171.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413914
Deuteranopia (green-blind)
#544A14
Tritanopia (blue-blind)
#841827
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #782b17;
/* rgb */ color: rgb(120, 43, 23);
/* oklch */ color: oklch(39.9% 0.113 35.5);
Tailwind
colors: {
  custom: {
    50: '#a66855',
    500: '#782b17',
    950: '#000000',
  },
}
SCSS
$custom: #782b17;
$custom-light: #a66855;
$custom-dark: #000000;
JSON
{
  "hex": "#782b17",
  "rgb": {
    "r": 120,
    "g": 43,
    "b": 23
  },
  "hsl": {
    "h": 12.371,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39907,
    "c": 0.11257,
    "h": 35.5
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#782B17
secondary
#3E96AD
accent
#C7EB3D
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #782B17

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

Preview Lab → · Contrast checker → · Palette generator →

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