#78311E#78311E

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

Color values

HEX#78311E
RGBrgb(120, 49, 30)
HSLhsl(13, 60%, 29%)
HSVhsv(13, 75%, 47%)
CMYKcmyk(0%, 59.2%, 75%, 52.9%)
CIE-LABlab(30.12, 29.77, 27.07)
CIE-LCHlch(30.12, 40.24, 42.28°)
OKLaboklab(40.89% 0.0846 0.0613)
OKLCHoklch(40.89% 0.104 35.9)
XYZxyz(9.0793, 6.2846, 1.9630)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78311E #1E6578
analogous
#781E38 #78311E #785E1E
triadic
#78311E #1E7831 #311E78
tetradic
#78311E #38781E #1E6578 #5E1E78
square
#78311E #38781E #1E6578 #5E1E78
split-complementary
#78311E #1E785E #1E3878
monochromatic
#180A06 #471D12 #78311E #A9452A #CF5F41

Accessibility & contrast

On white

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

On black

2.26
#78311E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##78311E#FFFFFF#000000##FFFFFF
##78311E1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D1C
Deuteranopia (green-blind)
#564D1C
Tritanopia (blue-blind)
#84222D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #78311e;
/* rgb */ color: rgb(120, 49, 30);
/* oklch */ color: oklch(40.9% 0.104 35.9);
Tailwind
colors: {
  custom: {
    50: '#a56b5a',
    500: '#78311e',
    950: '#000000',
  },
}
SCSS
$custom: #78311e;
$custom-light: #a56b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#78311e",
  "rgb": {
    "r": 120,
    "g": 49,
    "b": 30
  },
  "hsl": {
    "h": 12.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40885,
    "c": 0.10445,
    "h": 35.9
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#78311E
secondary
#4696AC
accent
#C2E345
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100704
muted
#7F7A79

Preview Lab

Preview with #78311E

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

Preview Lab → · Contrast checker → · Palette generator →

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