#4E2240#4E2240

#4E2240 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.5% C 0.078 H 341.0°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#4E2240
RGBrgb(78, 34, 64)
HSLhsl(319, 39%, 22%)
HSVhsv(319, 56%, 31%)
CMYKcmyk(0%, 56.4%, 17.9%, 69.4%)
CIE-LABlab(20.57, 25.08, -9.55)
CIE-LCHlch(20.57, 26.84, 339.16°)
OKLaboklab(32.55% 0.0741 -0.0255)
OKLCHoklch(32.55% 0.078 341)
XYZxyz(4.6394, 3.1343, 5.2101)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2240 #224E30
analogous
#46224E #4E2240 #4E222A
triadic
#4E2240 #404E22 #22404E
tetradic
#4E2240 #4E4622 #224E30 #222A4E
square
#4E2240 #4E4622 #224E30 #222A4E
split-complementary
#4E2240 #2A4E22 #224E46
monochromatic
#150911 #230F1D #4E2240 #793563 #A34786

Accessibility & contrast

On white

12.91
#4E2240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4E2240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2240
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2240#FFFFFF#000000##FFFFFF
##4E22401.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242D41
Deuteranopia (green-blind)
#30343F
Tritanopia (blue-blind)
#52232E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e2240;
/* rgb */ color: rgb(78, 34, 64);
/* oklch */ color: oklch(32.5% 0.078 341.0);
Tailwind
colors: {
  custom: {
    50: '#815f74',
    500: '#4e2240',
    950: '#000000',
  },
}
SCSS
$custom: #4e2240;
$custom-light: #815f74;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2240",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 319.091,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32545,
    "c": 0.07838,
    "h": 341
  },
  "luminance": 0.03134
}

Semantic roles & 50–950 ramp

primary
#4E2240
secondary
#4A825C
accent
#CF7E59
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0508
muted
#7C797B

Preview Lab

Preview with #4E2240

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

Preview Lab → · Contrast checker → · Palette generator →

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