#4E1442#4E1442

#4E1442 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.7% C 0.104 H 337.2°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#4E1442
RGBrgb(78, 20, 66)
HSLhsl(312, 59%, 19%)
HSVhsv(312, 74%, 31%)
CMYKcmyk(0%, 74.4%, 15.4%, 69.4%)
CIE-LABlab(17.98, 32.73, -14.93)
CIE-LCHlch(17.98, 35.97, 335.48°)
OKLaboklab(30.67% 0.0963 -0.0405)
OKLCHoklch(30.67% 0.104 337.2)
XYZxyz(4.3755, 2.5137, 5.4080)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1442 #144E20
analogous
#3D144E #4E1442 #4E1425
triadic
#4E1442 #424E14 #14424E
tetradic
#4E1442 #4E3D14 #144E20 #14254E
square
#4E1442 #4E3D14 #144E20 #14254E
split-complementary
#4E1442 #254E14 #144E3D
monochromatic
#180615 #1D0819 #4E1442 #7F206B #AF2D94

Accessibility & contrast

On white

13.98
#4E1442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1442
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1442#FFFFFF#000000##FFFFFF
##4E14421.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1442;
/* rgb */ color: rgb(78, 20, 66);
/* oklch */ color: oklch(30.7% 0.104 337.2);
Tailwind
colors: {
  custom: {
    50: '#825776',
    500: '#4e1442',
    950: '#000000',
  },
}
SCSS
$custom: #4e1442;
$custom-light: #825776;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1442",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 66
  },
  "hsl": {
    "h": 312.414,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30667,
    "c": 0.10445,
    "h": 337.2
  },
  "luminance": 0.02513
}

Semantic roles & 50–950 ramp

primary
#4E1442
secondary
#388648
accent
#E26645
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E1442

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

Preview Lab → · Contrast checker → · Palette generator →

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