#4E1C40#4E1C40

#4E1C40 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.6% C 0.090 H 339.8°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#4E1C40
RGBrgb(78, 28, 64)
HSLhsl(317, 47%, 21%)
HSVhsv(317, 64%, 31%)
CMYKcmyk(0%, 64.1%, 17.9%, 69.4%)
CIE-LABlab(19.31, 28.45, -11.48)
CIE-LCHlch(19.31, 30.68, 338.01°)
OKLaboklab(31.61% 0.0841 -0.0309)
OKLCHoklch(31.61% 0.09 339.8)
XYZxyz(4.4826, 2.8207, 5.1579)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1C40 #1C4E2A
analogous
#431C4E #4E1C40 #4E1C27
triadic
#4E1C40 #404E1C #1C404E
tetradic
#4E1C40 #4E431C #1C4E2A #1C274E
square
#4E1C40 #4E431C #1C4E2A #1C274E
split-complementary
#4E1C40 #274E1C #1C4E43
monochromatic
#170812 #210C1B #4E1C40 #7B2C65 #A83C8A

Accessibility & contrast

On white

13.43
#4E1C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4E1C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1C40
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1C40#FFFFFF#000000##FFFFFF
##4E1C401.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2A41
Deuteranopia (green-blind)
#2D323F
Tritanopia (blue-blind)
#531D2B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1c40;
/* rgb */ color: rgb(78, 28, 64);
/* oklch */ color: oklch(31.6% 0.090 339.8);
Tailwind
colors: {
  custom: {
    50: '#815b75',
    500: '#4e1c40',
    950: '#000000',
  },
}
SCSS
$custom: #4e1c40;
$custom-light: #815b75;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1c40",
  "rgb": {
    "r": 78,
    "g": 28,
    "b": 64
  },
  "hsl": {
    "h": 316.8,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31609,
    "c": 0.08961,
    "h": 339.8
  },
  "luminance": 0.0282
}

Semantic roles & 50–950 ramp

primary
#4E1C40
secondary
#428455
accent
#D77651
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #4E1C40

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

Preview Lab → · Contrast checker → · Palette generator →

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