#4D1142#4D1142

#4D1142 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.108 H 336.3°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#4D1142
RGBrgb(77, 17, 66)
HSLhsl(311, 64%, 18%)
HSVhsv(311, 78%, 30%)
CMYKcmyk(0%, 77.9%, 14.3%, 69.8%)
CIE-LABlab(17.33, 33.72, -15.96)
CIE-LCHlch(17.33, 37.31, 334.68°)
OKLaboklab(30.16% 0.0989 -0.0434)
OKLCHoklch(30.16% 0.108 336.3)
XYZxyz(4.2445, 2.3724, 5.3876)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1142 #114D1C
analogous
#3A114D #4D1142 #4D1124
triadic
#4D1142 #424D11 #11424D
tetradic
#4D1142 #4D3A11 #114D1C #11244D
square
#4D1142 #4D3A11 #114D1C #11244D
split-complementary
#4D1142 #244D11 #114D3A
monochromatic
#190615 #1B0617 #4D1142 #7F1C6D #B12798

Accessibility & contrast

On white

14.24
#4D1142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1142
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1142#FFFFFF#000000##FFFFFF
##4D11421.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122543
Deuteranopia (green-blind)
#262E41
Tritanopia (blue-blind)
#511528
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d1142;
/* rgb */ color: rgb(77, 17, 66);
/* oklch */ color: oklch(30.2% 0.108 336.3);
Tailwind
colors: {
  custom: {
    50: '#815676',
    500: '#4d1142',
    950: '#000000',
  },
}
SCSS
$custom: #4d1142;
$custom-light: #815676;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1142",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 66
  },
  "hsl": {
    "h": 311,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30159,
    "c": 0.10803,
    "h": 336.3
  },
  "luminance": 0.02372
}

Semantic roles & 50–950 ramp

primary
#4D1142
secondary
#338643
accent
#E75F41
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4D1142

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

Preview Lab → · Contrast checker → · Palette generator →

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