#4C0C1D#4C0C1D

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

Color values

HEX#4C0C1D
RGBrgb(76, 12, 29)
HSLhsl(344, 73%, 17%)
HSVhsv(344, 84%, 30%)
CMYKcmyk(0%, 84.2%, 61.8%, 70.2%)
CIE-LABlab(14.89, 30.52, 6.96)
CIE-LCHlch(14.89, 31.31, 12.84°)
OKLaboklab(27.84% 0.0925 0.0175)
OKLCHoklch(27.84% 0.094 10.7)
XYZxyz(3.3341, 1.8886, 1.3511)
Luminance0.0189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0C1D #0C4C3B
analogous
#4C0C3D #4C0C1D #4C1B0C
triadic
#4C0C1D #1D4C0C #0C1D4C
tetradic
#4C0C1D #3D4C0C #0C4C3B #1B0C4C
square
#4C0C1D #3D4C0C #0C4C3B #1B0C4C
split-complementary
#4C0C1D #0C4C1B #0C3D4C
monochromatic
#1A040A #1A040A #4C0C1D #811431 #B61D45

Accessibility & contrast

On white

15.24
#4C0C1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0C1D
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0C1D#FFFFFF#000000##FFFFFF
##4C0C1D1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c0c1d;
/* rgb */ color: rgb(76, 12, 29);
/* oklch */ color: oklch(27.8% 0.094 10.7);
Tailwind
colors: {
  custom: {
    50: '#835258',
    500: '#4c0c1d',
    950: '#000000',
  },
}
SCSS
$custom: #4c0c1d;
$custom-light: #835258;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0c1d",
  "rgb": {
    "r": 76,
    "g": 12,
    "b": 29
  },
  "hsl": {
    "h": 344.063,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27836,
    "c": 0.09411,
    "h": 10.7
  },
  "luminance": 0.01888
}

Semantic roles & 50–950 ramp

primary
#4C0C1D
secondary
#2C886F
accent
#EFBF38
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0203
muted
#7C7878

Preview Lab

Preview with #4C0C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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