#78231C#78231C

#78231C is a dark, moderate red. Relative luminance 0.053; OKLCH L 38.9% C 0.120 H 28.5°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#78231C
RGBrgb(120, 35, 28)
HSLhsl(5, 62%, 29%)
HSVhsv(5, 77%, 47%)
CMYKcmyk(0%, 70.8%, 76.7%, 52.9%)
CIE-LABlab(27.52, 36.52, 25.37)
CIE-LCHlch(27.52, 44.47, 34.79°)
OKLaboklab(38.92% 0.1051 0.0572)
OKLCHoklch(38.92% 0.12 28.5)
XYZxyz(8.5573, 5.2802, 1.6670)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78231C #1C7178
analogous
#781C43 #78231C #78511C
triadic
#78231C #1C7823 #231C78
tetradic
#78231C #43781C #1C7178 #511C78
square
#78231C #43781C #1C7178 #511C78
split-complementary
#78231C #1C7851 #1C4378
monochromatic
#190706 #461510 #78231C #AA3128 #D2483D

Accessibility & contrast

On white

10.22
#78231C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#78231C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78231C
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78231C#FFFFFF#000000##FFFFFF
##78231C1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B351B
Deuteranopia (green-blind)
#504819
Tritanopia (blue-blind)
#840922
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #78231c;
/* rgb */ color: rgb(120, 35, 28);
/* oklch */ color: oklch(38.9% 0.120 28.5);
Tailwind
colors: {
  custom: {
    50: '#a66358',
    500: '#78231c',
    950: '#000000',
  },
}
SCSS
$custom: #78231c;
$custom-light: #a66358;
$custom-dark: #000000;
JSON
{
  "hex": "#78231c",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 28
  },
  "hsl": {
    "h": 4.565,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38916,
    "c": 0.11966,
    "h": 28.5
  },
  "luminance": 0.05279
}

Semantic roles & 50–950 ramp

primary
#78231C
secondary
#44A4AC
accent
#D9E543
background
#FBF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #78231C

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

Preview Lab → · Contrast checker → · Palette generator →

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