#4E1042#4E1042

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

Color values

HEX#4E1042
RGBrgb(78, 16, 66)
HSLhsl(312, 66%, 18%)
HSVhsv(312, 79%, 31%)
CMYKcmyk(0%, 79.5%, 15.4%, 69.4%)
CIE-LABlab(17.39, 34.40, -15.86)
CIE-LCHlch(17.39, 37.88, 335.25°)
OKLaboklab(30.24% 0.1013 -0.0431)
OKLCHoklch(30.24% 0.11 336.9)
XYZxyz(4.3106, 2.3840, 5.3863)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1042 #104E1C
analogous
#3B104E #4E1042 #4E1023
triadic
#4E1042 #424E10 #10424E
tetradic
#4E1042 #4E3B10 #104E1C #10234E
square
#4E1042 #4E3B10 #104E1C #10234E
split-complementary
#4E1042 #234E10 #104E3B
monochromatic
#190515 #1B0617 #4E1042 #811A6D #B42598

Accessibility & contrast

On white

14.22
#4E1042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1042
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1042#FFFFFF#000000##FFFFFF
##4E10421.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1042;
/* rgb */ color: rgb(78, 16, 66);
/* oklch */ color: oklch(30.2% 0.110 336.9);
Tailwind
colors: {
  custom: {
    50: '#825576',
    500: '#4e1042',
    950: '#000000',
  },
}
SCSS
$custom: #4e1042;
$custom-light: #825576;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1042",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 66
  },
  "hsl": {
    "h": 311.613,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30236,
    "c": 0.11006,
    "h": 336.9
  },
  "luminance": 0.02384
}

Semantic roles & 50–950 ramp

primary
#4E1042
secondary
#328843
accent
#E9603F
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E1042

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

Preview Lab → · Contrast checker → · Palette generator →

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