#4E1242#4E1242

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

Color values

HEX#4E1242
RGBrgb(78, 18, 66)
HSLhsl(312, 63%, 19%)
HSVhsv(312, 77%, 31%)
CMYKcmyk(0%, 76.9%, 15.4%, 69.4%)
CIE-LABlab(17.67, 33.59, -15.41)
CIE-LCHlch(17.67, 36.96, 335.36°)
OKLaboklab(30.44% 0.0988 -0.0419)
OKLCHoklch(30.44% 0.107 337)
XYZxyz(4.3416, 2.4461, 5.3967)
Luminance0.0245 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1242 #124E1E
analogous
#3C124E #4E1242 #4E1224
triadic
#4E1242 #424E12 #12424E
tetradic
#4E1242 #4E3C12 #124E1E #12244E
square
#4E1242 #4E3C12 #124E1E #12244E
split-complementary
#4E1242 #244E12 #124E3C
monochromatic
#190615 #1C0718 #4E1242 #801D6C #B12996

Accessibility & contrast

On white

14.10
#4E1242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4E1242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1242
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1242#FFFFFF#000000##FFFFFF
##4E12421.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142543
Deuteranopia (green-blind)
#282F41
Tritanopia (blue-blind)
#531528
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e1242;
/* rgb */ color: rgb(78, 18, 66);
/* oklch */ color: oklch(30.4% 0.107 337.0);
Tailwind
colors: {
  custom: {
    50: '#825676',
    500: '#4e1242',
    950: '#000000',
  },
}
SCSS
$custom: #4e1242;
$custom-light: #825676;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1242",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 66
  },
  "hsl": {
    "h": 312,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30444,
    "c": 0.10734,
    "h": 337
  },
  "luminance": 0.02446
}

Semantic roles & 50–950 ramp

primary
#4E1242
secondary
#358745
accent
#E66342
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E1242

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

Preview Lab → · Contrast checker → · Palette generator →

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