#78171E#78171E

#78171E is a dark, vivid red. Relative luminance 0.047; OKLCH L 37.7% C 0.131 H 22.8°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#78171E
RGBrgb(120, 23, 30)
HSLhsl(356, 68%, 28%)
HSVhsv(356, 81%, 47%)
CMYKcmyk(0%, 80.8%, 75%, 52.9%)
CIE-LABlab(25.87, 41.26, 22.20)
CIE-LCHlch(25.87, 46.86, 28.28°)
OKLaboklab(37.69% 0.1206 0.0507)
OKLCHoklch(37.69% 0.131 22.8)
XYZxyz(8.2874, 4.7009, 1.6990)
Luminance0.0470 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78171E #177871
analogous
#78174E #78171E #784017
triadic
#78171E #1E7817 #171E78
tetradic
#78171E #4E7817 #177871 #401778
square
#78171E #4E7817 #177871 #401778
split-complementary
#78171E #177840 #174E78
monochromatic
#1A0506 #450D11 #78171E #AB212B #D8323E

Accessibility & contrast

On white

10.82
#78171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#78171E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78171E
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78171E#FFFFFF#000000##FFFFFF
##78171E1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34301D
Deuteranopia (green-blind)
#4D451B
Tritanopia (blue-blind)
#85001B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #78171e;
/* rgb */ color: rgb(120, 23, 30);
/* oklch */ color: oklch(37.7% 0.131 22.8);
Tailwind
colors: {
  custom: {
    50: '#a65e59',
    500: '#78171e',
    950: '#000000',
  },
}
SCSS
$custom: #78171e;
$custom-light: #a65e59;
$custom-dark: #000000;
JSON
{
  "hex": "#78171e",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 355.67,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37692,
    "c": 0.13082,
    "h": 22.8
  },
  "luminance": 0.047
}

Semantic roles & 50–950 ramp

primary
#78171E
secondary
#3EADA5
accent
#EBDE3D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #78171E

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

Preview Lab → · Contrast checker → · Palette generator →

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