#78221A#78221A

#78221A is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.8% C 0.121 H 29.1°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#78221A
RGBrgb(120, 34, 26)
HSLhsl(5, 64%, 29%)
HSVhsv(5, 78%, 47%)
CMYKcmyk(0%, 71.7%, 78.3%, 52.9%)
CIE-LABlab(27.33, 36.86, 26.39)
CIE-LCHlch(27.33, 45.34, 35.60°)
OKLaboklab(38.77% 0.1058 0.0589)
OKLCHoklch(38.77% 0.121 29.1)
XYZxyz(8.5052, 5.2130, 1.5354)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78221A #1A7078
analogous
#781A41 #78221A #78511A
triadic
#78221A #1A7822 #221A78
tetradic
#78221A #41781A #1A7078 #511A78
square
#78221A #41781A #1A7078 #511A78
split-complementary
#78221A #1A7851 #1A4178
monochromatic
#190705 #46140F #78221A #AA3025 #D44638

Accessibility & contrast

On white

10.28
#78221A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#78221A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78221A
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78221A#FFFFFF#000000##FFFFFF
##78221A1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3518
Deuteranopia (green-blind)
#504717
Tritanopia (blue-blind)
#850621
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #78221a;
/* rgb */ color: rgb(120, 34, 26);
/* oklch */ color: oklch(38.8% 0.121 29.1);
Tailwind
colors: {
  custom: {
    50: '#a66357',
    500: '#78221a',
    950: '#000000',
  },
}
SCSS
$custom: #78221a;
$custom-light: #a66357;
$custom-dark: #000000;
JSON
{
  "hex": "#78221a",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 26
  },
  "hsl": {
    "h": 5.106,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38769,
    "c": 0.12105,
    "h": 29.1
  },
  "luminance": 0.05212
}

Semantic roles & 50–950 ramp

primary
#78221A
secondary
#41A3AC
accent
#D9E740
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78

Preview Lab

Preview with #78221A

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

Preview Lab → · Contrast checker → · Palette generator →

#78221A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva