#782822#782822

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

Color values

HEX#782822
RGBrgb(120, 40, 34)
HSLhsl(4, 56%, 30%)
HSVhsv(4, 72%, 47%)
CMYKcmyk(0%, 66.7%, 71.7%, 52.9%)
CIE-LABlab(28.45, 34.54, 22.70)
CIE-LCHlch(28.45, 41.33, 33.31°)
OKLaboklab(39.64% 0.1003 0.0526)
OKLCHoklch(39.64% 0.113 27.7)
XYZxyz(8.7942, 5.6274, 2.1362)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782822 #227278
analogous
#782247 #782822 #785322
triadic
#782822 #227828 #282278
tetradic
#782822 #477822 #227278 #532278
square
#782822 #477822 #227278 #532278
split-complementary
#782822 #227853 #224778
monochromatic
#190807 #481814 #782822 #A83830 #CB5249

Accessibility & contrast

On white

9.88
#782822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#782822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782822
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782822#FFFFFF#000000##FFFFFF
##7828221.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #782822;
/* rgb */ color: rgb(120, 40, 34);
/* oklch */ color: oklch(39.6% 0.113 27.7);
Tailwind
colors: {
  custom: {
    50: '#a5665d',
    500: '#782822',
    950: '#000000',
  },
}
SCSS
$custom: #782822;
$custom-light: #a5665d;
$custom-dark: #000000;
JSON
{
  "hex": "#782822",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 34
  },
  "hsl": {
    "h": 4.186,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39644,
    "c": 0.1132,
    "h": 27.7
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#782822
secondary
#4BA4AB
accent
#D5DF49
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100604
muted
#7F7A79

Preview Lab

Preview with #782822

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

Preview Lab → · Contrast checker → · Palette generator →

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