#78211F#78211F

#78211F is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.7% C 0.121 H 25.9°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#78211F
RGBrgb(120, 33, 31)
HSLhsl(1, 59%, 30%)
HSVhsv(1, 74%, 47%)
CMYKcmyk(0%, 72.5%, 74.2%, 52.9%)
CIE-LABlab(27.24, 37.53, 23.18)
CIE-LCHlch(27.24, 44.11, 31.70°)
OKLaboklab(38.72% 0.109 0.053)
OKLCHoklch(38.72% 0.121 25.9)
XYZxyz(8.5378, 5.1810, 1.8465)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78211F #1F7678
analogous
#781F4A #78211F #784D1F
triadic
#78211F #1F7821 #211F78
tetradic
#78211F #4A781F #1F7678 #4D1F78
square
#78211F #4A781F #1F7678 #4D1F78
split-complementary
#78211F #1F784D #1F4A78
monochromatic
#180706 #471412 #78211F #A92E2C #CE4643

Accessibility & contrast

On white

10.31
#78211F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#78211F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78211F
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78211F#FFFFFF#000000##FFFFFF
##78211F1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A341E
Deuteranopia (green-blind)
#4F471C
Tritanopia (blue-blind)
#840521
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #78211f;
/* rgb */ color: rgb(120, 33, 31);
/* oklch */ color: oklch(38.7% 0.121 25.9);
Tailwind
colors: {
  custom: {
    50: '#a6625a',
    500: '#78211f',
    950: '#000000',
  },
}
SCSS
$custom: #78211f;
$custom-light: #a6625a;
$custom-dark: #000000;
JSON
{
  "hex": "#78211f",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 31
  },
  "hsl": {
    "h": 1.348,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38724,
    "c": 0.12122,
    "h": 25.9
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#78211F
secondary
#47A9AB
accent
#DFE246
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #78211F

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

Preview Lab → · Contrast checker → · Palette generator →

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