#4E1940#4E1940

#4E1940 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.2% C 0.095 H 339.4°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#4E1940
RGBrgb(78, 25, 64)
HSLhsl(316, 51%, 20%)
HSVhsv(316, 68%, 31%)
CMYKcmyk(0%, 67.9%, 17.9%, 69.4%)
CIE-LABlab(18.74, 30.00, -12.37)
CIE-LCHlch(18.74, 32.45, 337.60°)
OKLaboklab(31.19% 0.0888 -0.0333)
OKLCHoklch(31.19% 0.095 339.4)
XYZxyz(4.4150, 2.6855, 5.1353)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1940 #194E27
analogous
#41194E #4E1940 #4E1925
triadic
#4E1940 #404E19 #19404E
tetradic
#4E1940 #4E4119 #194E27 #19254E
square
#4E1940 #4E4119 #194E27 #19254E
split-complementary
#4E1940 #254E19 #194E41
monochromatic
#170713 #200A1A #4E1940 #7C2866 #AB378C

Accessibility & contrast

On white

13.66
#4E1940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4E1940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1940
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1940#FFFFFF#000000##FFFFFF
##4E19401.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2841
Deuteranopia (green-blind)
#2B313F
Tritanopia (blue-blind)
#531B2A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1940;
/* rgb */ color: rgb(78, 25, 64);
/* oklch */ color: oklch(31.2% 0.095 339.4);
Tailwind
colors: {
  custom: {
    50: '#825a75',
    500: '#4e1940',
    950: '#000000',
  },
}
SCSS
$custom: #4e1940;
$custom-light: #825a75;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1940",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 315.849,
    "s": 51.456,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31187,
    "c": 0.09483,
    "h": 339.4
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#4E1940
secondary
#3E8451
accent
#DB724D
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #4E1940

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

Preview Lab → · Contrast checker → · Palette generator →

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