#782A18#782A18

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

Color values

HEX#782A18
RGBrgb(120, 42, 24)
HSLhsl(11, 67%, 28%)
HSVhsv(11, 80%, 47%)
CMYKcmyk(0%, 65%, 80%, 52.9%)
CIE-LABlab(28.68, 33.07, 29.02)
CIE-LCHlch(28.68, 44.00, 41.27°)
OKLaboklab(39.78% 0.0935 0.064)
OKLCHoklch(39.78% 0.113 34.4)
XYZxyz(8.7395, 5.7162, 1.5071)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782A18 #186678
analogous
#781836 #782A18 #785A18
triadic
#782A18 #18782A #2A1878
tetradic
#782A18 #367818 #186678 #5A1878
square
#782A18 #367818 #186678 #5A1878
split-complementary
#782A18 #18785A #183678
monochromatic
#1A0905 #45180E #782A18 #AB3C22 #D65234

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##782A18#FFFFFF#000000##FFFFFF
##782A181.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)
#403916
Deuteranopia (green-blind)
#534A15
Tritanopia (blue-blind)
#841626
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #782a18;
/* rgb */ color: rgb(120, 42, 24);
/* oklch */ color: oklch(39.8% 0.113 34.4);
Tailwind
colors: {
  custom: {
    50: '#a66756',
    500: '#782a18',
    950: '#000000',
  },
}
SCSS
$custom: #782a18;
$custom-light: #a66756;
$custom-dark: #000000;
JSON
{
  "hex": "#782a18",
  "rgb": {
    "r": 120,
    "g": 42,
    "b": 24
  },
  "hsl": {
    "h": 11.25,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39778,
    "c": 0.11334,
    "h": 34.4
  },
  "luminance": 0.05715
}

Semantic roles & 50–950 ramp

primary
#782A18
secondary
#3F98AD
accent
#C9EA3E
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #782A18

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

Preview Lab → · Contrast checker → · Palette generator →

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