#4E2840#4E2840

#4E2840 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 33.6% C 0.066 H 342.7°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#4E2840
RGBrgb(78, 40, 64)
HSLhsl(322, 32%, 23%)
HSVhsv(322, 49%, 31%)
CMYKcmyk(0%, 48.7%, 17.9%, 69.4%)
CIE-LABlab(21.97, 21.47, -7.43)
CIE-LCHlch(21.97, 22.72, 340.92°)
OKLaboklab(33.59% 0.0634 -0.0197)
OKLCHoklch(33.59% 0.066 342.7)
XYZxyz(4.8261, 3.5078, 5.2724)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2840 #284E36
analogous
#49284E #4E2840 #4E282D
triadic
#4E2840 #404E28 #28404E
tetradic
#4E2840 #4E4928 #284E36 #282D4E
square
#4E2840 #4E4928 #284E36 #282D4E
split-complementary
#4E2840 #2D4E28 #284E49
monochromatic
#140A11 #26131F #4E2840 #763D61 #9F5182

Accessibility & contrast

On white

12.34
#4E2840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4E2840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2840
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2840#FFFFFF#000000##FFFFFF
##4E28401.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3141
Deuteranopia (green-blind)
#34373F
Tritanopia (blue-blind)
#522831
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e2840;
/* rgb */ color: rgb(78, 40, 64);
/* oklch */ color: oklch(33.6% 0.066 342.7);
Tailwind
colors: {
  custom: {
    50: '#816374',
    500: '#4e2840',
    950: '#000000',
  },
}
SCSS
$custom: #4e2840;
$custom-light: #816374;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2840",
  "rgb": {
    "r": 78,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 322.105,
    "s": 32.203,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33592,
    "c": 0.06642,
    "h": 342.7
  },
  "luminance": 0.03507
}

Semantic roles & 50–950 ramp

primary
#4E2840
secondary
#518163
accent
#C8865F
background
#F7F5F7
surface
#EEEAED
border
#C9C6C8
text
#0A0508
muted
#7C797B

Preview Lab

Preview with #4E2840

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

Preview Lab → · Contrast checker → · Palette generator →

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