#4C0C41#4C0C41

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

Color values

HEX#4C0C41
RGBrgb(76, 12, 65)
HSLhsl(310, 73%, 17%)
HSVhsv(310, 84%, 30%)
CMYKcmyk(0%, 84.2%, 14.5%, 70.2%)
CIE-LABlab(16.41, 35.16, -16.71)
CIE-LCHlch(16.41, 38.93, 334.58°)
OKLaboklab(29.44% 0.1033 -0.0456)
OKLCHoklch(29.44% 0.113 336.2)
XYZxyz(4.0662, 2.1815, 5.2069)
Luminance0.0218 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0C41 #0C4C17
analogous
#370C4C #4C0C41 #4C0C21
triadic
#4C0C41 #414C0C #0C414C
tetradic
#4C0C41 #4C370C #0C4C17 #0C214C
square
#4C0C41 #4C370C #0C4C17 #0C214C
split-complementary
#4C0C41 #214C0C #0C4C37
monochromatic
#1A0417 #1A0417 #4C0C41 #81146E #B61D9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C0C41#FFFFFF#000000##FFFFFF
##4C0C411.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)
#0D2342
Deuteranopia (green-blind)
#242C40
Tritanopia (blue-blind)
#501126
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c0c41;
/* rgb */ color: rgb(76, 12, 65);
/* oklch */ color: oklch(29.4% 0.113 336.2);
Tailwind
colors: {
  custom: {
    50: '#815376',
    500: '#4c0c41',
    950: '#000000',
  },
}
SCSS
$custom: #4c0c41;
$custom-light: #815376;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0c41",
  "rgb": {
    "r": 76,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 310.313,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2944,
    "c": 0.11287,
    "h": 336.2
  },
  "luminance": 0.02181
}

Semantic roles & 50–950 ramp

primary
#4C0C41
secondary
#2C883C
accent
#EF5838
background
#F8F5F7
surface
#EFE8ED
border
#CAC4C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4C0C41

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

Preview Lab → · Contrast checker → · Palette generator →

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