#78311C#78311C

#78311C is a dark, moderate red. Relative luminance 0.063; OKLCH L 40.9% C 0.105 H 37.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#78311C
RGBrgb(120, 49, 28)
HSLhsl(14, 62%, 29%)
HSVhsv(14, 77%, 47%)
CMYKcmyk(0%, 59.2%, 76.7%, 52.9%)
CIE-LABlab(30.10, 29.67, 28.22)
CIE-LCHlch(30.10, 40.95, 43.56°)
OKLaboklab(40.86% 0.0838 0.0633)
OKLCHoklch(40.86% 0.105 37.1)
XYZxyz(9.0546, 6.2747, 1.8327)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78311C #1C6378
analogous
#781C35 #78311C #785F1C
triadic
#78311C #1C7831 #311C78
tetradic
#78311C #35781C #1C6378 #5F1C78
square
#78311C #35781C #1C6378 #5F1C78
split-complementary
#78311C #1C785F #1C3578
monochromatic
#190A06 #461D10 #78311C #AA4528 #D25F3D

Accessibility & contrast

On white

9.31
#78311C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#78311C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78311C
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78311C#FFFFFF#000000##FFFFFF
##78311C1.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D19
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#84212C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #78311c;
/* rgb */ color: rgb(120, 49, 28);
/* oklch */ color: oklch(40.9% 0.105 37.1);
Tailwind
colors: {
  custom: {
    50: '#a56b59',
    500: '#78311c',
    950: '#000000',
  },
}
SCSS
$custom: #78311c;
$custom-light: #a56b59;
$custom-dark: #000000;
JSON
{
  "hex": "#78311c",
  "rgb": {
    "r": 120,
    "g": 49,
    "b": 28
  },
  "hsl": {
    "h": 13.696,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40858,
    "c": 0.10506,
    "h": 37.1
  },
  "luminance": 0.06274
}

Semantic roles & 50–950 ramp

primary
#78311C
secondary
#4494AC
accent
#C0E543
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100703
muted
#7F7A78

Preview Lab

Preview with #78311C

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

Preview Lab → · Contrast checker → · Palette generator →

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