#78311B#78311B

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

Color values

HEX#78311B
RGBrgb(120, 49, 27)
HSLhsl(14, 63%, 29%)
HSVhsv(14, 78%, 47%)
CMYKcmyk(0%, 59.2%, 77.5%, 52.9%)
CIE-LABlab(30.08, 29.62, 28.78)
CIE-LCHlch(30.08, 41.30, 44.18°)
OKLaboklab(40.85% 0.0835 0.0643)
OKLCHoklch(40.85% 0.105 37.6)
XYZxyz(9.0428, 6.2700, 1.7708)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78311B #1B6278
analogous
#781B34 #78311B #78601B
triadic
#78311B #1B7831 #311B78
tetradic
#78311B #34781B #1B6278 #601B78
square
#78311B #34781B #1B6278 #601B78
split-complementary
#78311B #1B7860 #1B3478
monochromatic
#190A06 #461D10 #78311B #AA4526 #D35F3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78311B#FFFFFF#000000##FFFFFF
##78311B1.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)
#453D18
Deuteranopia (green-blind)
#564D19
Tritanopia (blue-blind)
#84212C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #78311b;
/* rgb */ color: rgb(120, 49, 27);
/* oklch */ color: oklch(40.8% 0.105 37.6);
Tailwind
colors: {
  custom: {
    50: '#a56b58',
    500: '#78311b',
    950: '#000000',
  },
}
SCSS
$custom: #78311b;
$custom-light: #a56b58;
$custom-dark: #000000;
JSON
{
  "hex": "#78311b",
  "rgb": {
    "r": 120,
    "g": 49,
    "b": 27
  },
  "hsl": {
    "h": 14.194,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40846,
    "c": 0.10538,
    "h": 37.6
  },
  "luminance": 0.06269
}

Semantic roles & 50–950 ramp

primary
#78311B
secondary
#4393AC
accent
#BFE641
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100703
muted
#7F7A78

Preview Lab

Preview with #78311B

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

Preview Lab → · Contrast checker → · Palette generator →

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