#4C0D1A#4C0D1A

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

Color values

HEX#4C0D1A
RGBrgb(76, 13, 26)
HSLhsl(348, 71%, 17%)
HSVhsv(348, 83%, 30%)
CMYKcmyk(0%, 82.9%, 65.8%, 70.2%)
CIE-LABlab(14.95, 29.89, 9.24)
CIE-LCHlch(14.95, 31.29, 17.17°)
OKLaboklab(27.85% 0.0899 0.0227)
OKLCHoklch(27.85% 0.093 14.2)
XYZxyz(3.3112, 1.8994, 1.1693)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D1A #0D4C3F
analogous
#4C0D3A #4C0D1A #4C1F0D
triadic
#4C0D1A #1A4C0D #0D1A4C
tetradic
#4C0D1A #3A4C0D #0D4C3F #1F0D4C
square
#4C0D1A #3A4C0D #0D4C3F #1F0D4C
split-complementary
#4C0D1A #0D4C1F #0D3A4C
monochromatic
#1A0409 #1A0409 #4C0D1A #80162C #B51F3E

Accessibility & contrast

On white

15.22
#4C0D1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0D1A
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D1A#FFFFFF#000000##FFFFFF
##4C0D1A1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1D1A
Deuteranopia (green-blind)
#2E2A18
Tritanopia (blue-blind)
#540012
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0d1a;
/* rgb */ color: rgb(76, 13, 26);
/* oklch */ color: oklch(27.9% 0.093 14.2);
Tailwind
colors: {
  custom: {
    50: '#835256',
    500: '#4c0d1a',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d1a;
$custom-light: #835256;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d1a",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 26
  },
  "hsl": {
    "h": 347.619,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27854,
    "c": 0.0927,
    "h": 14.2
  },
  "luminance": 0.01899
}

Semantic roles & 50–950 ramp

primary
#4C0D1A
secondary
#2E8775
accent
#EEC93A
background
#F8F4F5
surface
#F0E7E8
border
#CBC3C4
text
#0B0203
muted
#7C7878

Preview Lab

Preview with #4C0D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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