#4C1142#4C1142

#4C1142 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 30.0% C 0.107 H 335.6°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#4C1142
RGBrgb(76, 17, 66)
HSLhsl(310, 63%, 18%)
HSVhsv(310, 78%, 30%)
CMYKcmyk(0%, 77.6%, 13.2%, 70.2%)
CIE-LABlab(17.14, 33.44, -16.27)
CIE-LCHlch(17.14, 37.19, 334.05°)
OKLaboklab(29.98% 0.0977 -0.0444)
OKLCHoklch(29.98% 0.107 335.6)
XYZxyz(4.1644, 2.3311, 5.3838)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1142 #114C1B
analogous
#38114C #4C1142 #4C1124
triadic
#4C1142 #424C11 #11424C
tetradic
#4C1142 #4C3811 #114C1B #11244C
square
#4C1142 #4C3811 #114C1B #11244C
split-complementary
#4C1142 #244C11 #114C38
monochromatic
#190616 #1A0617 #4C1142 #7E1C6D #B02799

Accessibility & contrast

On white

14.32
#4C1142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4C1142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1142
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1142#FFFFFF#000000##FFFFFF
##4C11421.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112543
Deuteranopia (green-blind)
#262D41
Tritanopia (blue-blind)
#501528
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c1142;
/* rgb */ color: rgb(76, 17, 66);
/* oklch */ color: oklch(30.0% 0.107 335.6);
Tailwind
colors: {
  custom: {
    50: '#805576',
    500: '#4c1142',
    950: '#000000',
  },
}
SCSS
$custom: #4c1142;
$custom-light: #805576;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1142",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 66
  },
  "hsl": {
    "h": 310.169,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29981,
    "c": 0.10733,
    "h": 335.6
  },
  "luminance": 0.02331
}

Semantic roles & 50–950 ramp

primary
#4C1142
secondary
#338541
accent
#E65D41
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4C1142

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

Preview Lab → · Contrast checker → · Palette generator →

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