#4C0C16#4C0C16

#4C0C16 is a dark, moderate red. Relative luminance 0.019; OKLCH L 27.7% C 0.094 H 17.6°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#4C0C16
RGBrgb(76, 12, 22)
HSLhsl(351, 73%, 17%)
HSVhsv(351, 84%, 30%)
CMYKcmyk(0%, 84.2%, 71.1%, 70.2%)
CIE-LABlab(14.72, 29.98, 11.85)
CIE-LCHlch(14.72, 32.24, 21.57°)
OKLaboklab(27.66% 0.0893 0.0284)
OKLCHoklch(27.66% 0.094 17.6)
XYZxyz(3.2571, 1.8579, 0.9460)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0C16 #0C4C42
analogous
#4C0C36 #4C0C16 #4C220C
triadic
#4C0C16 #164C0C #0C164C
tetradic
#4C0C16 #364C0C #0C4C42 #220C4C
square
#4C0C16 #364C0C #0C4C42 #220C4C
split-complementary
#4C0C16 #0C4C22 #0C364C
monochromatic
#1A0408 #1A0408 #4C0C16 #811425 #B61D35

Accessibility & contrast

On white

15.31
#4C0C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#4C0C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0C16
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0C16#FFFFFF#000000##FFFFFF
##4C0C161.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1D16
Deuteranopia (green-blind)
#2F2A14
Tritanopia (blue-blind)
#540010
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #4c0c16;
/* rgb */ color: rgb(76, 12, 22);
/* oklch */ color: oklch(27.7% 0.094 17.6);
Tailwind
colors: {
  custom: {
    50: '#835252',
    500: '#4c0c16',
    950: '#000000',
  },
}
SCSS
$custom: #4c0c16;
$custom-light: #835252;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0c16",
  "rgb": {
    "r": 76,
    "g": 12,
    "b": 22
  },
  "hsl": {
    "h": 350.625,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27656,
    "c": 0.09366,
    "h": 17.6
  },
  "luminance": 0.01857
}

Semantic roles & 50–950 ramp

primary
#4C0C16
secondary
#2C8879
accent
#EFD338
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0202
muted
#7D7878

Preview Lab

Preview with #4C0C16

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

Preview Lab → · Contrast checker → · Palette generator →

#4C0C16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva