#4E1142#4E1142

#4E1142 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.3% C 0.109 H 337.0°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#4E1142
RGBrgb(78, 17, 66)
HSLhsl(312, 64%, 19%)
HSVhsv(312, 78%, 31%)
CMYKcmyk(0%, 78.2%, 15.4%, 69.4%)
CIE-LABlab(17.53, 34.01, -15.64)
CIE-LCHlch(17.53, 37.43, 335.30°)
OKLaboklab(30.34% 0.1001 -0.0425)
OKLCHoklch(30.34% 0.109 337)
XYZxyz(4.3258, 2.4143, 5.3914)
Luminance0.0241 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1142 #114E1D
analogous
#3B114E #4E1142 #4E1123
triadic
#4E1142 #424E11 #11424E
tetradic
#4E1142 #4E3B11 #114E1D #11234E
square
#4E1142 #4E3B11 #114E1D #11234E
split-complementary
#4E1142 #234E11 #114E3B
monochromatic
#190515 #1C0617 #4E1142 #801C6D #B22797

Accessibility & contrast

On white

14.16
#4E1142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4E1142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1142
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1142#FFFFFF#000000##FFFFFF
##4E11421.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132543
Deuteranopia (green-blind)
#272E41
Tritanopia (blue-blind)
#531528
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e1142;
/* rgb */ color: rgb(78, 17, 66);
/* oklch */ color: oklch(30.3% 0.109 337.0);
Tailwind
colors: {
  custom: {
    50: '#825676',
    500: '#4e1142',
    950: '#000000',
  },
}
SCSS
$custom: #4e1142;
$custom-light: #825676;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1142",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 66
  },
  "hsl": {
    "h": 311.803,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30338,
    "c": 0.10872,
    "h": 337
  },
  "luminance": 0.02414
}

Semantic roles & 50–950 ramp

primary
#4E1142
secondary
#338744
accent
#E76141
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E1142

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

Preview Lab → · Contrast checker → · Palette generator →

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