#4E1340#4E1340

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

Color values

HEX#4E1340
RGBrgb(78, 19, 64)
HSLhsl(314, 61%, 19%)
HSVhsv(314, 76%, 31%)
CMYKcmyk(0%, 75.6%, 17.9%, 69.4%)
CIE-LABlab(17.72, 32.83, -13.95)
CIE-LCHlch(17.72, 35.67, 336.98°)
OKLaboklab(30.44% 0.0972 -0.0377)
OKLCHoklch(30.44% 0.104 338.8)
XYZxyz(4.3003, 2.4560, 5.0971)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1340 #134E21
analogous
#3F134E #4E1340 #4E1323
triadic
#4E1340 #404E13 #13404E
tetradic
#4E1340 #4E3F13 #134E21 #13234E
square
#4E1340 #4E3F13 #134E21 #13234E
split-complementary
#4E1340 #234E13 #134E3F
monochromatic
#190614 #1D0718 #4E1340 #7F1F68 #B02B91

Accessibility & contrast

On white

14.08
#4E1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4E1340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1340
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1340#FFFFFF#000000##FFFFFF
##4E13401.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162541
Deuteranopia (green-blind)
#292F3F
Tritanopia (blue-blind)
#531527
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e1340;
/* rgb */ color: rgb(78, 19, 64);
/* oklch */ color: oklch(30.4% 0.104 338.8);
Tailwind
colors: {
  custom: {
    50: '#825775',
    500: '#4e1340',
    950: '#000000',
  },
}
SCSS
$custom: #4e1340;
$custom-light: #825775;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1340",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 314.237,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30442,
    "c": 0.1043,
    "h": 338.8
  },
  "luminance": 0.02456
}

Semantic roles & 50–950 ramp

primary
#4E1340
secondary
#368749
accent
#E46A44
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E1340

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

Preview Lab → · Contrast checker → · Palette generator →

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