#782A1E#782A1E

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

Color values

HEX#782A1E
RGBrgb(120, 42, 30)
HSLhsl(8, 60%, 29%)
HSVhsv(8, 75%, 47%)
CMYKcmyk(0%, 65%, 75%, 52.9%)
CIE-LABlab(28.76, 33.35, 25.54)
CIE-LCHlch(28.76, 42.01, 37.44°)
OKLaboklab(39.86% 0.0957 0.058)
OKLCHoklch(39.86% 0.112 31.2)
XYZxyz(8.8090, 5.7440, 1.8729)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782A1E #1E6C78
analogous
#781E3F #782A1E #78571E
triadic
#782A1E #1E782A #2A1E78
tetradic
#782A1E #3F781E #1E6C78 #571E78
square
#782A1E #3F781E #1E6C78 #571E78
split-complementary
#782A1E #1E7857 #1E3F78
monochromatic
#180906 #471912 #782A1E #A93B2A #CF5441

Accessibility & contrast

On white

9.77
#782A1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#782A1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782A1E
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782A1E#FFFFFF#000000##FFFFFF
##782A1E1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F391C
Deuteranopia (green-blind)
#534A1C
Tritanopia (blue-blind)
#841728
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #782a1e;
/* rgb */ color: rgb(120, 42, 30);
/* oklch */ color: oklch(39.9% 0.112 31.2);
Tailwind
colors: {
  custom: {
    50: '#a5675a',
    500: '#782a1e',
    950: '#000000',
  },
}
SCSS
$custom: #782a1e;
$custom-light: #a5675a;
$custom-dark: #000000;
JSON
{
  "hex": "#782a1e",
  "rgb": {
    "r": 120,
    "g": 42,
    "b": 30
  },
  "hsl": {
    "h": 8,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39855,
    "c": 0.11188,
    "h": 31.2
  },
  "luminance": 0.05743
}

Semantic roles & 50–950 ramp

primary
#782A1E
secondary
#469EAC
accent
#CEE345
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100604
muted
#7F7A79

Preview Lab

Preview with #782A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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