#78221B#78221B

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

Color values

HEX#78221B
RGBrgb(120, 34, 27)
HSLhsl(5, 63%, 29%)
HSVhsv(5, 78%, 47%)
CMYKcmyk(0%, 71.7%, 77.5%, 52.9%)
CIE-LABlab(27.35, 36.91, 25.79)
CIE-LCHlch(27.35, 45.03, 34.95°)
OKLaboklab(38.78% 0.1061 0.0578)
OKLCHoklch(38.78% 0.121 28.6)
XYZxyz(8.5165, 5.2175, 1.5953)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78221B #1B7178
analogous
#781B43 #78221B #78511B
triadic
#78221B #1B7822 #221B78
tetradic
#78221B #43781B #1B7178 #511B78
square
#78221B #43781B #1B7178 #511B78
split-complementary
#78221B #1B7851 #1B4378
monochromatic
#190706 #461410 #78221B #AA3026 #D3463B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78221B#FFFFFF#000000##FFFFFF
##78221B1.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)
#3B351A
Deuteranopia (green-blind)
#504718
Tritanopia (blue-blind)
#840621
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #78221b;
/* rgb */ color: rgb(120, 34, 27);
/* oklch */ color: oklch(38.8% 0.121 28.6);
Tailwind
colors: {
  custom: {
    50: '#a66358',
    500: '#78221b',
    950: '#000000',
  },
}
SCSS
$custom: #78221b;
$custom-light: #a66358;
$custom-dark: #000000;
JSON
{
  "hex": "#78221b",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 27
  },
  "hsl": {
    "h": 4.516,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38783,
    "c": 0.12086,
    "h": 28.6
  },
  "luminance": 0.05216
}

Semantic roles & 50–950 ramp

primary
#78221B
secondary
#43A4AC
accent
#DAE641
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78

Preview Lab

Preview with #78221B

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

Preview Lab → · Contrast checker → · Palette generator →

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