#4E2540#4E2540

#4E2540 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.1% C 0.072 H 341.8°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#4E2540
RGBrgb(78, 37, 64)
HSLhsl(320, 36%, 23%)
HSVhsv(320, 53%, 31%)
CMYKcmyk(0%, 52.6%, 17.9%, 69.4%)
CIE-LABlab(21.26, 23.31, -8.51)
CIE-LCHlch(21.26, 24.81, 339.94°)
OKLaboklab(33.06% 0.0688 -0.0227)
OKLCHoklch(33.06% 0.072 341.8)
XYZxyz(4.7289, 3.3133, 5.2400)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2540 #254E33
analogous
#48254E #4E2540 #4E252B
triadic
#4E2540 #404E25 #25404E
tetradic
#4E2540 #4E4825 #254E33 #252B4E
square
#4E2540 #4E4825 #254E33 #252B4E
split-complementary
#4E2540 #2B4E25 #254E48
monochromatic
#150A11 #24111E #4E2540 #783962 #A14C84

Accessibility & contrast

On white

12.63
#4E2540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4E2540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2540
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2540#FFFFFF#000000##FFFFFF
##4E25401.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272F41
Deuteranopia (green-blind)
#32353F
Tritanopia (blue-blind)
#52252F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e2540;
/* rgb */ color: rgb(78, 37, 64);
/* oklch */ color: oklch(33.1% 0.072 341.8);
Tailwind
colors: {
  custom: {
    50: '#816174',
    500: '#4e2540',
    950: '#000000',
  },
}
SCSS
$custom: #4e2540;
$custom-light: #816174;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2540",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 64
  },
  "hsl": {
    "h": 320.488,
    "s": 35.652,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33055,
    "c": 0.07248,
    "h": 341.8
  },
  "luminance": 0.03313
}

Semantic roles & 50–950 ramp

primary
#4E2540
secondary
#4E815F
accent
#CC825C
background
#F8F5F7
surface
#EFEAED
border
#CAC6C8
text
#0A0508
muted
#7C797B

Preview Lab

Preview with #4E2540

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

Preview Lab → · Contrast checker → · Palette generator →

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