#4C0D2F#4C0D2F

#4C0D2F is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.6% C 0.099 H 352.4°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#4C0D2F
RGBrgb(76, 13, 47)
HSLhsl(328, 71%, 17%)
HSVhsv(328, 83%, 30%)
CMYKcmyk(0%, 82.9%, 38.2%, 70.2%)
CIE-LABlab(15.64, 32.10, -5.09)
CIE-LCHlch(15.64, 32.51, 350.98°)
OKLaboklab(28.59% 0.0984 -0.0131)
OKLCHoklch(28.59% 0.099 352.4)
XYZxyz(3.6377, 2.0300, 2.8890)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D2F #0D4C2A
analogous
#4A0D4C #4C0D2F #4C0D0F
triadic
#4C0D2F #2F4C0D #0D2F4C
tetradic
#4C0D2F #4C4A0D #0D4C2A #0D0F4C
square
#4C0D2F #4C4A0D #0D4C2A #0D0F4C
split-complementary
#4C0D2F #0F4C0D #0D4C4A
monochromatic
#1A0410 #1A0410 #4C0D2F #80164F #B51F70

Accessibility & contrast

On white

14.94
#4C0D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4C0D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0D2F
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D2F#FFFFFF#000000##FFFFFF
##4C0D2F1.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182030
Deuteranopia (green-blind)
#2A2B2E
Tritanopia (blue-blind)
#52071C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4c0d2f;
/* rgb */ color: rgb(76, 13, 47);
/* oklch */ color: oklch(28.6% 0.099 352.4);
Tailwind
colors: {
  custom: {
    50: '#815367',
    500: '#4c0d2f',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d2f;
$custom-light: #815367;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d2f",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 327.619,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28591,
    "c": 0.09928,
    "h": 352.4
  },
  "luminance": 0.0203
}

Semantic roles & 50–950 ramp

primary
#4C0D2F
secondary
#2E8757
accent
#EE8D3A
background
#F8F4F6
surface
#EFE7EB
border
#CAC3C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4C0D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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