#4C0D3A#4C0D3A

#4C0D3A is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.1% C 0.106 H 342.1°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#4C0D3A
RGBrgb(76, 13, 58)
HSLhsl(317, 71%, 17%)
HSVhsv(317, 83%, 30%)
CMYKcmyk(0%, 82.9%, 23.7%, 70.2%)
CIE-LABlab(16.16, 33.68, -12.18)
CIE-LCHlch(16.16, 35.81, 340.12°)
OKLaboklab(29.13% 0.1012 -0.0327)
OKLCHoklch(29.13% 0.106 342.1)
XYZxyz(3.8883, 2.1302, 4.2086)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D3A #0D4C1F
analogous
#3F0D4C #4C0D3A #4C0D1A
triadic
#4C0D3A #3A4C0D #0D3A4C
tetradic
#4C0D3A #4C3F0D #0D4C1F #0D1A4C
square
#4C0D3A #4C3F0D #0D4C1F #0D1A4C
split-complementary
#4C0D3A #1A4C0D #0D4C3F
monochromatic
#1A0414 #1A0414 #4C0D3A #801662 #B51F8A

Accessibility & contrast

On white

14.73
#4C0D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4C0D3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0D3A
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D3A#FFFFFF#000000##FFFFFF
##4C0D3A1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13223B
Deuteranopia (green-blind)
#272C39
Tritanopia (blue-blind)
#510E22
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c0d3a;
/* rgb */ color: rgb(76, 13, 58);
/* oklch */ color: oklch(29.1% 0.106 342.1);
Tailwind
colors: {
  custom: {
    50: '#815370',
    500: '#4c0d3a',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d3a;
$custom-light: #815370;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d3a",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 58
  },
  "hsl": {
    "h": 317.143,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29132,
    "c": 0.10635,
    "h": 342.1
  },
  "luminance": 0.0213
}

Semantic roles & 50–950 ramp

primary
#4C0D3A
secondary
#2E8747
accent
#EE6D3A
background
#F8F5F6
surface
#EFE8EC
border
#CAC4C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4C0D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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