#4C1141#4C1141

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

Color values

HEX#4C1141
RGBrgb(76, 17, 65)
HSLhsl(311, 63%, 18%)
HSVhsv(311, 78%, 30%)
CMYKcmyk(0%, 77.6%, 14.5%, 70.2%)
CIE-LABlab(17.08, 33.26, -15.66)
CIE-LCHlch(17.08, 36.77, 334.78°)
OKLaboklab(29.92% 0.0976 -0.0426)
OKLCHoklch(29.92% 0.107 336.4)
XYZxyz(4.1351, 2.3194, 5.2299)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1141 #114C1C
analogous
#39114C #4C1141 #4C1123
triadic
#4C1141 #414C11 #11414C
tetradic
#4C1141 #4C3911 #114C1C #11234C
square
#4C1141 #4C3911 #114C1C #11234C
split-complementary
#4C1141 #234C11 #114C39
monochromatic
#190615 #1A0616 #4C1141 #7E1C6C #B02797

Accessibility & contrast

On white

14.35
#4C1141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1141
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1141#FFFFFF#000000##FFFFFF
##4C11411.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122442
Deuteranopia (green-blind)
#262D40
Tritanopia (blue-blind)
#501527
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c1141;
/* rgb */ color: rgb(76, 17, 65);
/* oklch */ color: oklch(29.9% 0.106 336.4);
Tailwind
colors: {
  custom: {
    50: '#805575',
    500: '#4c1141',
    950: '#000000',
  },
}
SCSS
$custom: #4c1141;
$custom-light: #805575;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1141",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 65
  },
  "hsl": {
    "h": 311.186,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29923,
    "c": 0.1065,
    "h": 336.4
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#4C1141
secondary
#338543
accent
#E66041
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4C1141

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

Preview Lab → · Contrast checker → · Palette generator →

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