#78231B#78231B

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

Color values

HEX#78231B
RGBrgb(120, 35, 27)
HSLhsl(5, 63%, 29%)
HSVhsv(5, 78%, 47%)
CMYKcmyk(0%, 70.8%, 77.5%, 52.9%)
CIE-LABlab(27.51, 36.47, 25.97)
CIE-LCHlch(27.51, 44.77, 35.46°)
OKLaboklab(38.9% 0.1048 0.0582)
OKLCHoklch(38.9% 0.12 29.1)
XYZxyz(8.5455, 5.2755, 1.6050)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78231B #1B7078
analogous
#781B42 #78231B #78521B
triadic
#78231B #1B7823 #231B78
tetradic
#78231B #42781B #1B7078 #521B78
square
#78231B #42781B #1B7078 #521B78
split-complementary
#78231B #1B7852 #1B4278
monochromatic
#190706 #461410 #78231B #AA3226 #D3483B

Accessibility & contrast

On white

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

On black

2.05
#78231B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##78231B#FFFFFF#000000##FFFFFF
##78231B1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3519
Deuteranopia (green-blind)
#504818
Tritanopia (blue-blind)
#840822
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #78231b;
/* rgb */ color: rgb(120, 35, 27);
/* oklch */ color: oklch(38.9% 0.120 29.1);
Tailwind
colors: {
  custom: {
    50: '#a66358',
    500: '#78231b',
    950: '#000000',
  },
}
SCSS
$custom: #78231b;
$custom-light: #a66358;
$custom-dark: #000000;
JSON
{
  "hex": "#78231b",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 27
  },
  "hsl": {
    "h": 5.161,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38902,
    "c": 0.11985,
    "h": 29.1
  },
  "luminance": 0.05274
}

Semantic roles & 50–950 ramp

primary
#78231B
secondary
#43A3AC
accent
#D8E641
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #78231B

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

Preview Lab → · Contrast checker → · Palette generator →

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