#4C0C1F#4C0C1F

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

Color values

HEX#4C0C1F
RGBrgb(76, 12, 31)
HSLhsl(342, 73%, 17%)
HSVhsv(342, 84%, 30%)
CMYKcmyk(0%, 84.2%, 59.2%, 70.2%)
CIE-LABlab(14.95, 30.70, 5.57)
CIE-LCHlch(14.95, 31.20, 10.27°)
OKLaboklab(27.89% 0.0934 0.0142)
OKLCHoklch(27.89% 0.094 8.7)
XYZxyz(3.3596, 1.8988, 1.4857)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0C1F #0C4C39
analogous
#4C0C3F #4C0C1F #4C190C
triadic
#4C0C1F #1F4C0C #0C1F4C
tetradic
#4C0C1F #3F4C0C #0C4C39 #190C4C
square
#4C0C1F #3F4C0C #0C4C39 #190C4C
split-complementary
#4C0C1F #0C4C19 #0C3F4C
monochromatic
#1A040B #1A040B #4C0C1F #811435 #B61D4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C0C1F#FFFFFF#000000##FFFFFF
##4C0C1F1.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)
#1D1D1F
Deuteranopia (green-blind)
#2D2A1D
Tritanopia (blue-blind)
#540014
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0c1f;
/* rgb */ color: rgb(76, 12, 31);
/* oklch */ color: oklch(27.9% 0.094 8.7);
Tailwind
colors: {
  custom: {
    50: '#83525a',
    500: '#4c0c1f',
    950: '#000000',
  },
}
SCSS
$custom: #4c0c1f;
$custom-light: #83525a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0c1f",
  "rgb": {
    "r": 76,
    "g": 12,
    "b": 31
  },
  "hsl": {
    "h": 342.188,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27895,
    "c": 0.09445,
    "h": 8.7
  },
  "luminance": 0.01898
}

Semantic roles & 50–950 ramp

primary
#4C0C1F
secondary
#2C886C
accent
#EFB938
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0203
muted
#7C7878

Preview Lab

Preview with #4C0C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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