#78221F#78221F

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

Color values

HEX#78221F
RGBrgb(120, 34, 31)
HSLhsl(2, 59%, 30%)
HSVhsv(2, 74%, 47%)
CMYKcmyk(0%, 71.7%, 74.2%, 52.9%)
CIE-LABlab(27.40, 37.10, 23.36)
CIE-LCHlch(27.40, 43.84, 32.19°)
OKLaboklab(38.84% 0.1077 0.0534)
OKLCHoklch(38.84% 0.12 26.4)
XYZxyz(8.5660, 5.2373, 1.8559)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78221F #1F7578
analogous
#781F49 #78221F #784E1F
triadic
#78221F #1F7822 #221F78
tetradic
#78221F #49781F #1F7578 #4E1F78
square
#78221F #49781F #1F7578 #4E1F78
split-complementary
#78221F #1F784E #1F4978
monochromatic
#180706 #471412 #78221F #A9302C #CE4843

Accessibility & contrast

On white

10.26
#78221F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#78221F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78221F
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78221F#FFFFFF#000000##FFFFFF
##78221F1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A351E
Deuteranopia (green-blind)
#50481C
Tritanopia (blue-blind)
#840722
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #78221f;
/* rgb */ color: rgb(120, 34, 31);
/* oklch */ color: oklch(38.8% 0.120 26.4);
Tailwind
colors: {
  custom: {
    50: '#a6635b',
    500: '#78221f',
    950: '#000000',
  },
}
SCSS
$custom: #78221f;
$custom-light: #a6635b;
$custom-dark: #000000;
JSON
{
  "hex": "#78221f",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 31
  },
  "hsl": {
    "h": 2.022,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38841,
    "c": 0.12018,
    "h": 26.4
  },
  "luminance": 0.05236
}

Semantic roles & 50–950 ramp

primary
#78221F
secondary
#47A8AB
accent
#DDE246
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #78221F

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

Preview Lab → · Contrast checker → · Palette generator →

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