#782821#782821

#782821 is a dark, moderate red. Relative luminance 0.056; OKLCH L 39.6% C 0.113 H 28.3°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#782821
RGBrgb(120, 40, 33)
HSLhsl(5, 57%, 30%)
HSVhsv(5, 73%, 47%)
CMYKcmyk(0%, 66.7%, 72.5%, 52.9%)
CIE-LABlab(28.44, 34.48, 23.31)
CIE-LCHlch(28.44, 41.62, 34.06°)
OKLaboklab(39.63% 0.0999 0.0537)
OKLCHoklch(39.63% 0.113 28.3)
XYZxyz(8.7799, 5.6217, 2.0613)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782821 #217178
analogous
#782145 #782821 #785421
triadic
#782821 #217828 #282178
tetradic
#782821 #457821 #217178 #542178
square
#782821 #457821 #217178 #542178
split-complementary
#782821 #217854 #214578
monochromatic
#180807 #481814 #782821 #A8382E #CC5247

Accessibility & contrast

On white

9.89
#782821 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#782821 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782821
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782821#FFFFFF#000000##FFFFFF
##7828211.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3820
Deuteranopia (green-blind)
#524A1F
Tritanopia (blue-blind)
#841527
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #782821;
/* rgb */ color: rgb(120, 40, 33);
/* oklch */ color: oklch(39.6% 0.113 28.3);
Tailwind
colors: {
  custom: {
    50: '#a5665c',
    500: '#782821',
    950: '#000000',
  },
}
SCSS
$custom: #782821;
$custom-light: #a5665c;
$custom-dark: #000000;
JSON
{
  "hex": "#782821",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 33
  },
  "hsl": {
    "h": 4.828,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.39628,
    "c": 0.11341,
    "h": 28.3
  },
  "luminance": 0.0562
}

Semantic roles & 50–950 ramp

primary
#782821
secondary
#4AA3AB
accent
#D4E048
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100604
muted
#7F7A79

Preview Lab

Preview with #782821

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

Preview Lab → · Contrast checker → · Palette generator →

#782821 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva