#782B18#782B18

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

Color values

HEX#782B18
RGBrgb(120, 43, 24)
HSLhsl(12, 67%, 28%)
HSVhsv(12, 80%, 47%)
CMYKcmyk(0%, 64.2%, 80%, 52.9%)
CIE-LABlab(28.87, 32.57, 29.22)
CIE-LCHlch(28.87, 43.76, 41.89°)
OKLaboklab(39.92% 0.092 0.0644)
OKLCHoklch(39.92% 0.112 35)
XYZxyz(8.7754, 5.7880, 1.5191)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782B18 #186578
analogous
#781835 #782B18 #785B18
triadic
#782B18 #18782B #2B1878
tetradic
#782B18 #357818 #186578 #5B1878
square
#782B18 #357818 #186578 #5B1878
split-complementary
#782B18 #18785B #183578
monochromatic
#1A0905 #45190E #782B18 #AB3D22 #D65434

Accessibility & contrast

On white

9.73
#782B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782B18
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782B18#FFFFFF#000000##FFFFFF
##782B181.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #782b18;
/* rgb */ color: rgb(120, 43, 24);
/* oklch */ color: oklch(39.9% 0.112 35.0);
Tailwind
colors: {
  custom: {
    50: '#a66856',
    500: '#782b18',
    950: '#000000',
  },
}
SCSS
$custom: #782b18;
$custom-light: #a66856;
$custom-dark: #000000;
JSON
{
  "hex": "#782b18",
  "rgb": {
    "r": 120,
    "g": 43,
    "b": 24
  },
  "hsl": {
    "h": 11.875,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39918,
    "c": 0.11232,
    "h": 35
  },
  "luminance": 0.05787
}

Semantic roles & 50–950 ramp

primary
#782B18
secondary
#3F97AD
accent
#C8EA3E
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #782B18

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

Preview Lab → · Contrast checker → · Palette generator →

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