#4C0C1C#4C0C1C

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

Color values

HEX#4C0C1C
RGBrgb(76, 12, 28)
HSLhsl(345, 73%, 17%)
HSVhsv(345, 84%, 30%)
CMYKcmyk(0%, 84.2%, 63.2%, 70.2%)
CIE-LABlab(14.87, 30.44, 7.66)
CIE-LCHlch(14.87, 31.38, 14.12°)
OKLaboklab(27.81% 0.092 0.0191)
OKLCHoklch(27.81% 0.094 11.7)
XYZxyz(3.3219, 1.8838, 1.2871)
Luminance0.0188 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0C1C #0C4C3C
analogous
#4C0C3C #4C0C1C #4C1C0C
triadic
#4C0C1C #1C4C0C #0C1C4C
tetradic
#4C0C1C #3C4C0C #0C4C3C #1C0C4C
square
#4C0C1C #3C4C0C #0C4C3C #1C0C4C
split-complementary
#4C0C1C #0C4C1C #0C3C4C
monochromatic
#1A040A #1A040A #4C0C1C #81142F #B61D43

Accessibility & contrast

On white

15.25
#4C0C1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0C1C
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0C1C#FFFFFF#000000##FFFFFF
##4C0C1C1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c0c1c;
/* rgb */ color: rgb(76, 12, 28);
/* oklch */ color: oklch(27.8% 0.094 11.7);
Tailwind
colors: {
  custom: {
    50: '#835257',
    500: '#4c0c1c',
    950: '#000000',
  },
}
SCSS
$custom: #4c0c1c;
$custom-light: #835257;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0c1c",
  "rgb": {
    "r": 76,
    "g": 12,
    "b": 28
  },
  "hsl": {
    "h": 345,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27808,
    "c": 0.09399,
    "h": 11.7
  },
  "luminance": 0.01883
}

Semantic roles & 50–950 ramp

primary
#4C0C1C
secondary
#2C8871
accent
#EFC238
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0B0203
muted
#7C7878

Preview Lab

Preview with #4C0C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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