#78311A#78311A

#78311A is a dark, moderate red. Relative luminance 0.063; OKLCH L 40.8% C 0.106 H 38.1°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#78311A
RGBrgb(120, 49, 26)
HSLhsl(15, 64%, 29%)
HSVhsv(15, 78%, 47%)
CMYKcmyk(0%, 59.2%, 78.3%, 52.9%)
CIE-LABlab(30.07, 29.57, 29.34)
CIE-LCHlch(30.07, 41.66, 44.78°)
OKLaboklab(40.83% 0.0831 0.0653)
OKLCHoklch(40.83% 0.106 38.1)
XYZxyz(9.0314, 6.2655, 1.7109)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78311A #1A6178
analogous
#781A32 #78311A #78601A
triadic
#78311A #1A7831 #311A78
tetradic
#78311A #32781A #1A6178 #601A78
square
#78311A #32781A #1A6178 #601A78
split-complementary
#78311A #1A7860 #1A3278
monochromatic
#190A05 #461C0F #78311A #AA4625 #D45E38

Accessibility & contrast

On white

9.32
#78311A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78311A
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78311A#FFFFFF#000000##FFFFFF
##78311A1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D17
Deuteranopia (green-blind)
#564D18
Tritanopia (blue-blind)
#84212C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #78311a;
/* rgb */ color: rgb(120, 49, 26);
/* oklch */ color: oklch(40.8% 0.106 38.1);
Tailwind
colors: {
  custom: {
    50: '#a56b58',
    500: '#78311a',
    950: '#000000',
  },
}
SCSS
$custom: #78311a;
$custom-light: #a56b58;
$custom-dark: #000000;
JSON
{
  "hex": "#78311a",
  "rgb": {
    "r": 120,
    "g": 49,
    "b": 26
  },
  "hsl": {
    "h": 14.681,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40834,
    "c": 0.10569,
    "h": 38.1
  },
  "luminance": 0.06264
}

Semantic roles & 50–950 ramp

primary
#78311A
secondary
#4192AC
accent
#BFE740
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100703
muted
#7F7A78

Preview Lab

Preview with #78311A

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

Preview Lab → · Contrast checker → · Palette generator →

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