#4E2640#4E2640

#4E2640 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.2% C 0.070 H 342.1°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#4E2640
RGBrgb(78, 38, 64)
HSLhsl(321, 34%, 23%)
HSVhsv(321, 51%, 31%)
CMYKcmyk(0%, 51.3%, 17.9%, 69.4%)
CIE-LABlab(21.49, 22.70, -8.15)
CIE-LCHlch(21.49, 24.12, 340.24°)
OKLaboklab(33.23% 0.0671 -0.0217)
OKLCHoklch(33.23% 0.07 342.1)
XYZxyz(4.7605, 3.3764, 5.2505)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2640 #264E34
analogous
#48264E #4E2640 #4E262C
triadic
#4E2640 #404E26 #26404E
tetradic
#4E2640 #4E4826 #264E34 #262C4E
square
#4E2640 #4E4826 #264E34 #262C4E
split-complementary
#4E2640 #2C4E26 #264E48
monochromatic
#150A11 #25121E #4E2640 #773A62 #A04E84

Accessibility & contrast

On white

12.54
#4E2640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4E2640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2640
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2640#FFFFFF#000000##FFFFFF
##4E26401.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283041
Deuteranopia (green-blind)
#33363F
Tritanopia (blue-blind)
#522630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e2640;
/* rgb */ color: rgb(78, 38, 64);
/* oklch */ color: oklch(33.2% 0.070 342.1);
Tailwind
colors: {
  custom: {
    50: '#816274',
    500: '#4e2640',
    950: '#000000',
  },
}
SCSS
$custom: #4e2640;
$custom-light: #816274;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2640",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 64
  },
  "hsl": {
    "h": 321,
    "s": 34.483,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33231,
    "c": 0.07047,
    "h": 342.1
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#4E2640
secondary
#4F8160
accent
#CB845D
background
#F7F5F7
surface
#EEEAED
border
#C9C6C8
text
#0A0508
muted
#7C797B

Preview Lab

Preview with #4E2640

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

Preview Lab → · Contrast checker → · Palette generator →

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