#782A17#782A17

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

Color values

HEX#782A17
RGBrgb(120, 42, 23)
HSLhsl(12, 68%, 28%)
HSVhsv(12, 81%, 47%)
CMYKcmyk(0%, 65%, 80.8%, 52.9%)
CIE-LABlab(28.67, 33.03, 29.58)
CIE-LCHlch(28.67, 44.34, 41.85°)
OKLaboklab(39.77% 0.0932 0.0649)
OKLCHoklch(39.77% 0.114 34.9)
XYZxyz(8.7293, 5.7121, 1.4533)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782A17 #176578
analogous
#781734 #782A17 #785A17
triadic
#782A17 #17782A #2A1778
tetradic
#782A17 #347817 #176578 #5A1778
square
#782A17 #347817 #176578 #5A1778
split-complementary
#782A17 #17785A #173478
monochromatic
#1A0905 #45180D #782A17 #AB3C21 #D85232

Accessibility & contrast

On white

9.80
#782A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782A17
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782A17#FFFFFF#000000##FFFFFF
##782A171.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #782a17;
/* rgb */ color: rgb(120, 42, 23);
/* oklch */ color: oklch(39.8% 0.114 34.9);
Tailwind
colors: {
  custom: {
    50: '#a66755',
    500: '#782a17',
    950: '#000000',
  },
}
SCSS
$custom: #782a17;
$custom-light: #a66755;
$custom-dark: #000000;
JSON
{
  "hex": "#782a17",
  "rgb": {
    "r": 120,
    "g": 42,
    "b": 23
  },
  "hsl": {
    "h": 11.753,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39766,
    "c": 0.11358,
    "h": 34.9
  },
  "luminance": 0.05711
}

Semantic roles & 50–950 ramp

primary
#782A17
secondary
#3E97AD
accent
#C9EB3D
background
#FBF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #782A17

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

Preview Lab → · Contrast checker → · Palette generator →

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