#4C0C1E#4C0C1E

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

Color values

HEX#4C0C1E
RGBrgb(76, 12, 30)
HSLhsl(343, 73%, 17%)
HSVhsv(343, 84%, 30%)
CMYKcmyk(0%, 84.2%, 60.5%, 70.2%)
CIE-LABlab(14.92, 30.61, 6.26)
CIE-LCHlch(14.92, 31.24, 11.56°)
OKLaboklab(27.87% 0.0929 0.0159)
OKLCHoklch(27.87% 0.094 9.7)
XYZxyz(3.3466, 1.8937, 1.4173)
Luminance0.0189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0C1E #0C4C3A
analogous
#4C0C3E #4C0C1E #4C1A0C
triadic
#4C0C1E #1E4C0C #0C1E4C
tetradic
#4C0C1E #3E4C0C #0C4C3A #1A0C4C
square
#4C0C1E #3E4C0C #0C4C3A #1A0C4C
split-complementary
#4C0C1E #0C4C1A #0C3E4C
monochromatic
#1A040A #1A040A #4C0C1E #811433 #B61D48

Accessibility & contrast

On white

15.23
#4C0C1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0C1E
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0C1E#FFFFFF#000000##FFFFFF
##4C0C1E1.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1D1E
Deuteranopia (green-blind)
#2D2A1C
Tritanopia (blue-blind)
#540014
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #4c0c1e;
/* rgb */ color: rgb(76, 12, 30);
/* oklch */ color: oklch(27.9% 0.094 9.7);
Tailwind
colors: {
  custom: {
    50: '#835259',
    500: '#4c0c1e',
    950: '#000000',
  },
}
SCSS
$custom: #4c0c1e;
$custom-light: #835259;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0c1e",
  "rgb": {
    "r": 76,
    "g": 12,
    "b": 30
  },
  "hsl": {
    "h": 343.125,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27865,
    "c": 0.09426,
    "h": 9.7
  },
  "luminance": 0.01893
}

Semantic roles & 50–950 ramp

primary
#4C0C1E
secondary
#2C886E
accent
#EFBC38
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0203
muted
#7C7878

Preview Lab

Preview with #4C0C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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