#4E1342#4E1342

#4E1342 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.106 H 337.1°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#4E1342
RGBrgb(78, 19, 66)
HSLhsl(312, 61%, 19%)
HSVhsv(312, 76%, 31%)
CMYKcmyk(0%, 75.6%, 15.4%, 69.4%)
CIE-LABlab(17.82, 33.17, -15.17)
CIE-LCHlch(17.82, 36.47, 335.42°)
OKLaboklab(30.55% 0.0976 -0.0412)
OKLCHoklch(30.55% 0.106 337.1)
XYZxyz(4.3582, 2.4792, 5.4022)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1342 #134E1F
analogous
#3D134E #4E1342 #4E1325
triadic
#4E1342 #424E13 #13424E
tetradic
#4E1342 #4E3D13 #134E1F #13254E
square
#4E1342 #4E3D13 #134E1F #13254E
split-complementary
#4E1342 #254E13 #134E3D
monochromatic
#190615 #1D0718 #4E1342 #7F1F6C #B02B95

Accessibility & contrast

On white

14.04
#4E1342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4E1342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1342
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1342#FFFFFF#000000##FFFFFF
##4E13421.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152643
Deuteranopia (green-blind)
#282F41
Tritanopia (blue-blind)
#521628
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e1342;
/* rgb */ color: rgb(78, 19, 66);
/* oklch */ color: oklch(30.6% 0.106 337.1);
Tailwind
colors: {
  custom: {
    50: '#825776',
    500: '#4e1342',
    950: '#000000',
  },
}
SCSS
$custom: #4e1342;
$custom-light: #825776;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1342",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 66
  },
  "hsl": {
    "h": 312.203,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30553,
    "c": 0.10592,
    "h": 337.1
  },
  "luminance": 0.02479
}

Semantic roles & 50–950 ramp

primary
#4E1342
secondary
#368747
accent
#E46444
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E1342

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

Preview Lab → · Contrast checker → · Palette generator →

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