#4C0D1C#4C0D1C

#4C0D1C is a dark, moderate red. Relative luminance 0.019; OKLCH L 27.9% C 0.093 H 12.2°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#4C0D1C
RGBrgb(76, 13, 28)
HSLhsl(346, 71%, 17%)
HSVhsv(346, 83%, 30%)
CMYKcmyk(0%, 82.9%, 63.2%, 70.2%)
CIE-LABlab(15.00, 30.06, 7.84)
CIE-LCHlch(15.00, 31.06, 14.62°)
OKLaboklab(27.91% 0.0908 0.0196)
OKLCHoklch(27.91% 0.093 12.2)
XYZxyz(3.3343, 1.9087, 1.2912)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D1C #0D4C3D
analogous
#4C0D3C #4C0D1C #4C1D0D
triadic
#4C0D1C #1C4C0D #0D1C4C
tetradic
#4C0D1C #3C4C0D #0D4C3D #1D0D4C
square
#4C0D1C #3C4C0D #0D4C3D #1D0D4C
split-complementary
#4C0D1C #0D4C1D #0D3C4C
monochromatic
#1A040A #1A040A #4C0D1C #80162F #B51F43

Accessibility & contrast

On white

15.20
#4C0D1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#4C0D1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0D1C
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D1C#FFFFFF#000000##FFFFFF
##4C0D1C1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1D1C
Deuteranopia (green-blind)
#2E2A1A
Tritanopia (blue-blind)
#540013
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0d1c;
/* rgb */ color: rgb(76, 13, 28);
/* oklch */ color: oklch(27.9% 0.093 12.2);
Tailwind
colors: {
  custom: {
    50: '#835257',
    500: '#4c0d1c',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d1c;
$custom-light: #835257;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d1c",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 28
  },
  "hsl": {
    "h": 345.714,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27908,
    "c": 0.09287,
    "h": 12.2
  },
  "luminance": 0.01908
}

Semantic roles & 50–950 ramp

primary
#4C0D1C
secondary
#2E8772
accent
#EEC33A
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0B0203
muted
#7C7878

Preview Lab

Preview with #4C0D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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