#4C0D3F#4C0D3F

#4C0D3F is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.4% C 0.110 H 337.8°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#4C0D3F
RGBrgb(76, 13, 63)
HSLhsl(312, 71%, 17%)
HSVhsv(312, 83%, 30%)
CMYKcmyk(0%, 82.9%, 17.1%, 70.2%)
CIE-LABlab(16.42, 34.48, -15.29)
CIE-LCHlch(16.42, 37.72, 336.08°)
OKLaboklab(29.41% 0.102 -0.0415)
OKLCHoklch(29.41% 0.11 337.8)
XYZxyz(4.0217, 2.1836, 4.9113)
Luminance0.0218 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D3F #0D4C1A
analogous
#3A0D4C #4C0D3F #4C0D1F
triadic
#4C0D3F #3F4C0D #0D3F4C
tetradic
#4C0D3F #4C3A0D #0D4C1A #0D1F4C
square
#4C0D3F #4C3A0D #0D4C1A #0D1F4C
split-complementary
#4C0D3F #1F4C0D #0D4C3A
monochromatic
#1A0416 #1A0416 #4C0D3F #80166A #B51F96

Accessibility & contrast

On white

14.62
#4C0D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4C0D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0D3F
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D3F#FFFFFF#000000##FFFFFF
##4C0D3F1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102240
Deuteranopia (green-blind)
#252C3E
Tritanopia (blue-blind)
#511125
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c0d3f;
/* rgb */ color: rgb(76, 13, 63);
/* oklch */ color: oklch(29.4% 0.110 337.8);
Tailwind
colors: {
  custom: {
    50: '#815474',
    500: '#4c0d3f',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d3f;
$custom-light: #815474;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d3f",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 63
  },
  "hsl": {
    "h": 312.381,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29411,
    "c": 0.11013,
    "h": 337.8
  },
  "luminance": 0.02183
}

Semantic roles & 50–950 ramp

primary
#4C0D3F
secondary
#2E8740
accent
#EE5F3A
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4C0D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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