#4E1040#4E1040

#4E1040 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.108 H 338.6°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#4E1040
RGBrgb(78, 16, 64)
HSLhsl(314, 66%, 18%)
HSVhsv(314, 79%, 31%)
CMYKcmyk(0%, 79.5%, 17.9%, 69.4%)
CIE-LABlab(17.28, 34.07, -14.63)
CIE-LCHlch(17.28, 37.08, 336.76°)
OKLaboklab(30.12% 0.101 -0.0396)
OKLCHoklch(30.12% 0.108 338.6)
XYZxyz(4.2527, 2.3609, 5.0812)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1040 #104E1E
analogous
#3D104E #4E1040 #4E1021
triadic
#4E1040 #404E10 #10404E
tetradic
#4E1040 #4E3D10 #104E1E #10214E
square
#4E1040 #4E3D10 #104E1E #10214E
split-complementary
#4E1040 #214E10 #104E3D
monochromatic
#190515 #1B0616 #4E1040 #811A6A #B42593

Accessibility & contrast

On white

14.27
#4E1040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4E1040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1040
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1040#FFFFFF#000000##FFFFFF
##4E10401.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132441
Deuteranopia (green-blind)
#282E3F
Tritanopia (blue-blind)
#531326
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e1040;
/* rgb */ color: rgb(78, 16, 64);
/* oklch */ color: oklch(30.1% 0.108 338.6);
Tailwind
colors: {
  custom: {
    50: '#825575',
    500: '#4e1040',
    950: '#000000',
  },
}
SCSS
$custom: #4e1040;
$custom-light: #825575;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1040",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 64
  },
  "hsl": {
    "h": 313.548,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30122,
    "c": 0.10848,
    "h": 338.6
  },
  "luminance": 0.0236
}

Semantic roles & 50–950 ramp

primary
#4E1040
secondary
#328845
accent
#E9653F
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E1040

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

Preview Lab → · Contrast checker → · Palette generator →

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