#4E1540#4E1540

#4E1540 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.7% C 0.101 H 339.0°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#4E1540
RGBrgb(78, 21, 64)
HSLhsl(315, 58%, 19%)
HSVhsv(315, 73%, 31%)
CMYKcmyk(0%, 73.1%, 17.9%, 69.4%)
CIE-LABlab(18.04, 31.93, -13.45)
CIE-LCHlch(18.04, 34.65, 337.16°)
OKLaboklab(30.68% 0.0946 -0.0363)
OKLCHoklch(30.68% 0.101 339)
XYZxyz(4.3356, 2.5266, 5.1088)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1540 #154E23
analogous
#40154E #4E1540 #4E1524
triadic
#4E1540 #404E15 #15404E
tetradic
#4E1540 #4E4015 #154E23 #15244E
square
#4E1540 #4E4015 #154E23 #15244E
split-complementary
#4E1540 #244E15 #154E40
monochromatic
#180614 #1E0818 #4E1540 #7E2268 #AE2F8F

Accessibility & contrast

On white

13.95
#4E1540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4E1540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1540
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1540#FFFFFF#000000##FFFFFF
##4E15401.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182641
Deuteranopia (green-blind)
#2A2F3F
Tritanopia (blue-blind)
#531728
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e1540;
/* rgb */ color: rgb(78, 21, 64);
/* oklch */ color: oklch(30.7% 0.101 339.0);
Tailwind
colors: {
  custom: {
    50: '#825875',
    500: '#4e1540',
    950: '#000000',
  },
}
SCSS
$custom: #4e1540;
$custom-light: #825875;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1540",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 64
  },
  "hsl": {
    "h": 314.737,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30675,
    "c": 0.1013,
    "h": 339
  },
  "luminance": 0.02526
}

Semantic roles & 50–950 ramp

primary
#4E1540
secondary
#39864C
accent
#E16D47
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E1540

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

Preview Lab → · Contrast checker → · Palette generator →

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