#4C1042#4C1042

#4C1042 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.9% C 0.109 H 335.5°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#4C1042
RGBrgb(76, 16, 66)
HSLhsl(310, 65%, 18%)
HSVhsv(310, 79%, 30%)
CMYKcmyk(0%, 78.9%, 13.2%, 70.2%)
CIE-LABlab(16.99, 33.84, -16.50)
CIE-LCHlch(16.99, 37.65, 334.01°)
OKLaboklab(29.88% 0.0989 -0.045)
OKLCHoklch(29.88% 0.109 335.5)
XYZxyz(4.1492, 2.3008, 5.3788)
Luminance0.0230 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1042 #104C1A
analogous
#38104C #4C1042 #4C1024
triadic
#4C1042 #424C10 #10424C
tetradic
#4C1042 #4C3810 #104C1A #10244C
square
#4C1042 #4C3810 #104C1A #10244C
split-complementary
#4C1042 #244C10 #104C38
monochromatic
#190516 #190516 #4C1042 #7F1B6E #B1259A

Accessibility & contrast

On white

14.38
#4C1042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4C1042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1042
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1042#FFFFFF#000000##FFFFFF
##4C10421.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102443
Deuteranopia (green-blind)
#252D41
Tritanopia (blue-blind)
#501427
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c1042;
/* rgb */ color: rgb(76, 16, 66);
/* oklch */ color: oklch(29.9% 0.109 335.5);
Tailwind
colors: {
  custom: {
    50: '#815576',
    500: '#4c1042',
    950: '#000000',
  },
}
SCSS
$custom: #4c1042;
$custom-light: #815576;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1042",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 66
  },
  "hsl": {
    "h": 310,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29877,
    "c": 0.1087,
    "h": 335.5
  },
  "luminance": 0.023
}

Semantic roles & 50–950 ramp

primary
#4C1042
secondary
#328640
accent
#E85C40
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4C1042

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

Preview Lab → · Contrast checker → · Palette generator →

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