#4E1E40#4E1E40

#4E1E40 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.9% C 0.086 H 340.2°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#4E1E40
RGBrgb(78, 30, 64)
HSLhsl(318, 44%, 21%)
HSVhsv(318, 62%, 31%)
CMYKcmyk(0%, 61.5%, 17.9%, 69.4%)
CIE-LABlab(19.72, 27.36, -10.86)
CIE-LCHlch(19.72, 29.44, 338.34°)
OKLaboklab(31.91% 0.0809 -0.0291)
OKLCHoklch(31.91% 0.086 340.2)
XYZxyz(4.5317, 2.9188, 5.1742)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E40 #1E4E2C
analogous
#441E4E #4E1E40 #4E1E28
triadic
#4E1E40 #404E1E #1E404E
tetradic
#4E1E40 #4E441E #1E4E2C #1E284E
square
#4E1E40 #4E441E #1E4E2C #1E284E
split-complementary
#4E1E40 #284E1E #1E4E44
monochromatic
#160912 #220D1C #4E1E40 #7A2F64 #A64089

Accessibility & contrast

On white

13.26
#4E1E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4E1E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E40
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E40#FFFFFF#000000##FFFFFF
##4E1E401.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202B41
Deuteranopia (green-blind)
#2E333F
Tritanopia (blue-blind)
#531F2C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1e40;
/* rgb */ color: rgb(78, 30, 64);
/* oklch */ color: oklch(31.9% 0.086 340.2);
Tailwind
colors: {
  custom: {
    50: '#815c75',
    500: '#4e1e40',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e40;
$custom-light: #815c75;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e40",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 317.5,
    "s": 44.444,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31907,
    "c": 0.08597,
    "h": 340.2
  },
  "luminance": 0.02918
}

Semantic roles & 50–950 ramp

primary
#4E1E40
secondary
#458357
accent
#D47954
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0408
muted
#7C797B

Preview Lab

Preview with #4E1E40

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

Preview Lab → · Contrast checker → · Palette generator →

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