#78221C#78221C

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

Color values

HEX#78221C
RGBrgb(120, 34, 28)
HSLhsl(4, 62%, 29%)
HSVhsv(4, 77%, 47%)
CMYKcmyk(0%, 71.7%, 76.7%, 52.9%)
CIE-LABlab(27.36, 36.95, 25.19)
CIE-LCHlch(27.36, 44.72, 34.28°)
OKLaboklab(38.8% 0.1065 0.0568)
OKLCHoklch(38.8% 0.121 28.1)
XYZxyz(8.5283, 5.2222, 1.6573)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78221C #1C7278
analogous
#781C44 #78221C #78501C
triadic
#78221C #1C7822 #221C78
tetradic
#78221C #44781C #1C7278 #501C78
square
#78221C #44781C #1C7278 #501C78
split-complementary
#78221C #1C7850 #1C4478
monochromatic
#190706 #461410 #78221C #AA3028 #D2463D

Accessibility & contrast

On white

10.27
#78221C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78221C
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78221C#FFFFFF#000000##FFFFFF
##78221C1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B351B
Deuteranopia (green-blind)
#504819
Tritanopia (blue-blind)
#840621
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #78221c;
/* rgb */ color: rgb(120, 34, 28);
/* oklch */ color: oklch(38.8% 0.121 28.1);
Tailwind
colors: {
  custom: {
    50: '#a66358',
    500: '#78221c',
    950: '#000000',
  },
}
SCSS
$custom: #78221c;
$custom-light: #a66358;
$custom-dark: #000000;
JSON
{
  "hex": "#78221c",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 28
  },
  "hsl": {
    "h": 3.913,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38796,
    "c": 0.12068,
    "h": 28.1
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#78221C
secondary
#44A5AC
accent
#DBE543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78

Preview Lab

Preview with #78221C

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

Preview Lab → · Contrast checker → · Palette generator →

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