#4E2740#4E2740

#4E2740 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.4% C 0.068 H 342.4°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#4E2740
RGBrgb(78, 39, 64)
HSLhsl(322, 33%, 23%)
HSVhsv(322, 50%, 31%)
CMYKcmyk(0%, 50%, 17.9%, 69.4%)
CIE-LABlab(21.73, 22.09, -7.79)
CIE-LCHlch(21.73, 23.43, 340.57°)
OKLaboklab(33.41% 0.0652 -0.0207)
OKLCHoklch(33.41% 0.068 342.4)
XYZxyz(4.7929, 3.4412, 5.2613)
Luminance0.0344 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2740 #274E35
analogous
#48274E #4E2740 #4E272D
triadic
#4E2740 #404E27 #27404E
tetradic
#4E2740 #4E4827 #274E35 #272D4E
square
#4E2740 #4E4827 #274E35 #272D4E
split-complementary
#4E2740 #2D4E27 #274E48
monochromatic
#140A11 #25131F #4E2740 #773B61 #A05083

Accessibility & contrast

On white

12.44
#4E2740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4E2740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2740
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2740#FFFFFF#000000##FFFFFF
##4E27401.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293041
Deuteranopia (green-blind)
#34363F
Tritanopia (blue-blind)
#522730
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e2740;
/* rgb */ color: rgb(78, 39, 64);
/* oklch */ color: oklch(33.4% 0.068 342.4);
Tailwind
colors: {
  custom: {
    50: '#816274',
    500: '#4e2740',
    950: '#000000',
  },
}
SCSS
$custom: #4e2740;
$custom-light: #816274;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2740",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 64
  },
  "hsl": {
    "h": 321.538,
    "s": 33.333,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3341,
    "c": 0.06845,
    "h": 342.4
  },
  "luminance": 0.03441
}

Semantic roles & 50–950 ramp

primary
#4E2740
secondary
#508162
accent
#C9855E
background
#F7F5F7
surface
#EEEAED
border
#C9C6C8
text
#0A0508
muted
#7C797B

Preview Lab

Preview with #4E2740

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

Preview Lab → · Contrast checker → · Palette generator →

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