#78271A#78271A

#78271A is a dark, moderate red. Relative luminance 0.055; OKLCH L 39.4% C 0.116 H 31.6°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#78271A
RGBrgb(120, 39, 26)
HSLhsl(8, 64%, 29%)
HSVhsv(8, 78%, 47%)
CMYKcmyk(0%, 67.5%, 78.3%, 52.9%)
CIE-LABlab(28.17, 34.60, 27.30)
CIE-LCHlch(28.17, 44.07, 38.27°)
OKLaboklab(39.4% 0.0987 0.0608)
OKLCHoklch(39.4% 0.116 31.6)
XYZxyz(8.6586, 5.5199, 1.5866)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78271A #1A6B78
analogous
#781A3C #78271A #78561A
triadic
#78271A #1A7827 #271A78
tetradic
#78271A #3C781A #1A6B78 #561A78
square
#78271A #3C781A #1A6B78 #561A78
split-complementary
#78271A #1A7856 #1A3C78
monochromatic
#190805 #46170F #78271A #AA3725 #D44E38

Accessibility & contrast

On white

9.98
#78271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#78271A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78271A
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78271A#FFFFFF#000000##FFFFFF
##78271A1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3718
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#841124
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #78271a;
/* rgb */ color: rgb(120, 39, 26);
/* oklch */ color: oklch(39.4% 0.116 31.6);
Tailwind
colors: {
  custom: {
    50: '#a66657',
    500: '#78271a',
    950: '#000000',
  },
}
SCSS
$custom: #78271a;
$custom-light: #a66657;
$custom-dark: #000000;
JSON
{
  "hex": "#78271a",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 8.298,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39395,
    "c": 0.11595,
    "h": 31.6
  },
  "luminance": 0.05519
}

Semantic roles & 50–950 ramp

primary
#78271A
secondary
#419EAC
accent
#D0E740
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #78271A

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

Preview Lab → · Contrast checker → · Palette generator →

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