#4E2142#4E2142

#4E2142 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.5% C 0.082 H 338.6°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#4E2142
RGBrgb(78, 33, 66)
HSLhsl(316, 41%, 22%)
HSVhsv(316, 58%, 31%)
CMYKcmyk(0%, 57.7%, 15.4%, 69.4%)
CIE-LABlab(20.44, 26.03, -11.12)
CIE-LCHlch(20.44, 28.31, 336.86°)
OKLaboklab(32.48% 0.0764 -0.0299)
OKLCHoklch(32.48% 0.082 338.6)
XYZxyz(4.6692, 3.1011, 5.5059)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2142 #214E2D
analogous
#44214E #4E2142 #4E212C
triadic
#4E2142 #424E21 #21424E
tetradic
#4E2142 #4E4421 #214E2D #212C4E
square
#4E2142 #4E4421 #214E2D #212C4E
split-complementary
#4E2142 #2C4E21 #214E44
monochromatic
#160912 #230F1E #4E2142 #793366 #A4458B

Accessibility & contrast

On white

12.96
#4E2142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4E2142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2142
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2142#FFFFFF#000000##FFFFFF
##4E21421.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232D43
Deuteranopia (green-blind)
#2F3441
Tritanopia (blue-blind)
#52222E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e2142;
/* rgb */ color: rgb(78, 33, 66);
/* oklch */ color: oklch(32.5% 0.082 338.6);
Tailwind
colors: {
  custom: {
    50: '#815e76',
    500: '#4e2142',
    950: '#000000',
  },
}
SCSS
$custom: #4e2142;
$custom-light: #815e76;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2142",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 316,
    "s": 40.541,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32478,
    "c": 0.08204,
    "h": 338.6
  },
  "luminance": 0.03101
}

Semantic roles & 50–950 ramp

primary
#4E2142
secondary
#498258
accent
#D07857
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0408
muted
#7C797B

Preview Lab

Preview with #4E2142

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

Preview Lab → · Contrast checker → · Palette generator →

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