#782E1B#782E1B

#782E1B is a dark, moderate red. Relative luminance 0.060; OKLCH L 40.4% C 0.108 H 35.5°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#782E1B
RGBrgb(120, 46, 27)
HSLhsl(12, 63%, 29%)
HSVhsv(12, 78%, 47%)
CMYKcmyk(0%, 61.7%, 77.5%, 52.9%)
CIE-LABlab(29.48, 31.19, 28.13)
CIE-LCHlch(29.48, 42.00, 42.05°)
OKLaboklab(40.39% 0.0883 0.0629)
OKLCHoklch(40.39% 0.108 35.5)
XYZxyz(8.9215, 6.0274, 1.7303)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782E1B #1B6578
analogous
#781B37 #782E1B #785D1B
triadic
#782E1B #1B782E #2E1B78
tetradic
#782E1B #37781B #1B6578 #5D1B78
square
#782E1B #37781B #1B6578 #5D1B78
split-complementary
#782E1B #1B785D #1B3778
monochromatic
#190A06 #461B10 #782E1B #AA4126 #D35A3B

Accessibility & contrast

On white

9.52
#782E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#782E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782E1B
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782E1B#FFFFFF#000000##FFFFFF
##782E1B1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B19
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#841D2A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #782e1b;
/* rgb */ color: rgb(120, 46, 27);
/* oklch */ color: oklch(40.4% 0.108 35.5);
Tailwind
colors: {
  custom: {
    50: '#a56a58',
    500: '#782e1b',
    950: '#000000',
  },
}
SCSS
$custom: #782e1b;
$custom-light: #a56a58;
$custom-dark: #000000;
JSON
{
  "hex": "#782e1b",
  "rgb": {
    "r": 120,
    "g": 46,
    "b": 27
  },
  "hsl": {
    "h": 12.258,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4039,
    "c": 0.10844,
    "h": 35.5
  },
  "luminance": 0.06026
}

Semantic roles & 50–950 ramp

primary
#782E1B
secondary
#4397AC
accent
#C5E641
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100603
muted
#7F7A78

Preview Lab

Preview with #782E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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