#4E1440#4E1440

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

Color values

HEX#4E1440
RGBrgb(78, 20, 64)
HSLhsl(314, 59%, 19%)
HSVhsv(314, 74%, 31%)
CMYKcmyk(0%, 74.4%, 17.9%, 69.4%)
CIE-LABlab(17.88, 32.39, -13.70)
CIE-LCHlch(17.88, 35.16, 337.07°)
OKLaboklab(30.56% 0.0959 -0.037)
OKLCHoklch(30.56% 0.103 338.9)
XYZxyz(4.3175, 2.4906, 5.1028)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1440 #144E22
analogous
#3F144E #4E1440 #4E1423
triadic
#4E1440 #404E14 #14404E
tetradic
#4E1440 #4E3F14 #144E22 #14234E
square
#4E1440 #4E3F14 #144E22 #14234E
split-complementary
#4E1440 #234E14 #144E3F
monochromatic
#180614 #1D0818 #4E1440 #7F2068 #AF2D90

Accessibility & contrast

On white

14.02
#4E1440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1440
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1440#FFFFFF#000000##FFFFFF
##4E14401.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172641
Deuteranopia (green-blind)
#292F3F
Tritanopia (blue-blind)
#531628
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e1440;
/* rgb */ color: rgb(78, 20, 64);
/* oklch */ color: oklch(30.6% 0.103 338.9);
Tailwind
colors: {
  custom: {
    50: '#825775',
    500: '#4e1440',
    950: '#000000',
  },
}
SCSS
$custom: #4e1440;
$custom-light: #825775;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1440",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 64
  },
  "hsl": {
    "h": 314.483,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30557,
    "c": 0.10282,
    "h": 338.9
  },
  "luminance": 0.0249
}

Semantic roles & 50–950 ramp

primary
#4E1440
secondary
#38864B
accent
#E26B45
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E1440

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

Preview Lab → · Contrast checker → · Palette generator →

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