#78271C#78271C

#78271C is a dark, moderate red. Relative luminance 0.055; OKLCH L 39.4% C 0.116 H 30.6°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#78271C
RGBrgb(120, 39, 28)
HSLhsl(7, 62%, 29%)
HSVhsv(7, 77%, 47%)
CMYKcmyk(0%, 67.5%, 76.7%, 52.9%)
CIE-LABlab(28.19, 34.70, 26.12)
CIE-LCHlch(28.19, 43.43, 36.98°)
OKLaboklab(39.42% 0.0994 0.0588)
OKLCHoklch(39.42% 0.116 30.6)
XYZxyz(8.6818, 5.5292, 1.7085)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78271C #1C6D78
analogous
#781C3F #78271C #78551C
triadic
#78271C #1C7827 #271C78
tetradic
#78271C #3F781C #1C6D78 #551C78
square
#78271C #3F781C #1C6D78 #551C78
split-complementary
#78271C #1C7855 #1C3F78
monochromatic
#190806 #461710 #78271C #AA3728 #D24F3D

Accessibility & contrast

On white

9.97
#78271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#78271C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78271C
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78271C#FFFFFF#000000##FFFFFF
##78271C1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E371A
Deuteranopia (green-blind)
#524919
Tritanopia (blue-blind)
#841225
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #78271c;
/* rgb */ color: rgb(120, 39, 28);
/* oklch */ color: oklch(39.4% 0.116 30.6);
Tailwind
colors: {
  custom: {
    50: '#a66659',
    500: '#78271c',
    950: '#000000',
  },
}
SCSS
$custom: #78271c;
$custom-light: #a66659;
$custom-dark: #000000;
JSON
{
  "hex": "#78271c",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 7.174,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39422,
    "c": 0.11551,
    "h": 30.6
  },
  "luminance": 0.05528
}

Semantic roles & 50–950 ramp

primary
#78271C
secondary
#44A0AC
accent
#D2E543
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #78271C

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

Preview Lab → · Contrast checker → · Palette generator →

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