#782A1C#782A1C

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

Color values

HEX#782A1C
RGBrgb(120, 42, 28)
HSLhsl(9, 62%, 29%)
HSVhsv(9, 77%, 47%)
CMYKcmyk(0%, 65%, 76.7%, 52.9%)
CIE-LABlab(28.73, 33.25, 26.72)
CIE-LCHlch(28.73, 42.66, 38.79°)
OKLaboklab(39.83% 0.0949 0.0601)
OKLCHoklch(39.83% 0.112 32.3)
XYZxyz(8.7842, 5.7341, 1.7426)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782A1C #1C6A78
analogous
#781C3C #782A1C #78581C
triadic
#782A1C #1C782A #2A1C78
tetradic
#782A1C #3C781C #1C6A78 #581C78
square
#782A1C #3C781C #1C6A78 #581C78
split-complementary
#782A1C #1C7858 #1C3C78
monochromatic
#190906 #461910 #782A1C #AA3B28 #D2533D

Accessibility & contrast

On white

9.78
#782A1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782A1C
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782A1C#FFFFFF#000000##FFFFFF
##782A1C1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40391A
Deuteranopia (green-blind)
#534A1A
Tritanopia (blue-blind)
#841727
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #782a1c;
/* rgb */ color: rgb(120, 42, 28);
/* oklch */ color: oklch(39.8% 0.112 32.3);
Tailwind
colors: {
  custom: {
    50: '#a56759',
    500: '#782a1c',
    950: '#000000',
  },
}
SCSS
$custom: #782a1c;
$custom-light: #a56759;
$custom-dark: #000000;
JSON
{
  "hex": "#782a1c",
  "rgb": {
    "r": 120,
    "g": 42,
    "b": 28
  },
  "hsl": {
    "h": 9.13,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39827,
    "c": 0.11236,
    "h": 32.3
  },
  "luminance": 0.05733
}

Semantic roles & 50–950 ramp

primary
#782A1C
secondary
#449CAC
accent
#CCE543
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #782A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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