#78271E#78271E

#78271E is a dark, moderate red. Relative luminance 0.055; OKLCH L 39.5% C 0.115 H 29.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#78271E
RGBrgb(120, 39, 30)
HSLhsl(6, 60%, 29%)
HSVhsv(6, 75%, 47%)
CMYKcmyk(0%, 67.5%, 75%, 52.9%)
CIE-LABlab(28.22, 34.79, 24.93)
CIE-LCHlch(28.22, 42.80, 35.62°)
OKLaboklab(39.45% 0.1002 0.0567)
OKLCHoklch(39.45% 0.115 29.5)
XYZxyz(8.7065, 5.5391, 1.8387)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78271E #1E6F78
analogous
#781E42 #78271E #78541E
triadic
#78271E #1E7827 #271E78
tetradic
#78271E #42781E #1E6F78 #541E78
square
#78271E #42781E #1E6F78 #541E78
split-complementary
#78271E #1E7854 #1E4278
monochromatic
#180806 #471712 #78271E #A9372A #CF4F41

Accessibility & contrast

On white

9.96
#78271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#78271E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78271E
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78271E#FFFFFF#000000##FFFFFF
##78271E1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371D
Deuteranopia (green-blind)
#52491B
Tritanopia (blue-blind)
#841225
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #78271e;
/* rgb */ color: rgb(120, 39, 30);
/* oklch */ color: oklch(39.5% 0.115 29.5);
Tailwind
colors: {
  custom: {
    50: '#a5665a',
    500: '#78271e',
    950: '#000000',
  },
}
SCSS
$custom: #78271e;
$custom-light: #a5665a;
$custom-dark: #000000;
JSON
{
  "hex": "#78271e",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 6,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3945,
    "c": 0.11509,
    "h": 29.5
  },
  "luminance": 0.05538
}

Semantic roles & 50–950 ramp

primary
#78271E
secondary
#46A2AC
accent
#D3E345
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #78271E

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

Preview Lab → · Contrast checker → · Palette generator →

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