#4E2340#4E2340

#4E2340 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 32.7% C 0.076 H 341.2°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#4E2340
RGBrgb(78, 35, 64)
HSLhsl(320, 38%, 22%)
HSVhsv(320, 55%, 31%)
CMYKcmyk(0%, 55.1%, 17.9%, 69.4%)
CIE-LABlab(20.80, 24.50, -9.21)
CIE-LCHlch(20.80, 26.17, 339.40°)
OKLaboklab(32.71% 0.0724 -0.0246)
OKLCHoklch(32.71% 0.076 341.2)
XYZxyz(4.6684, 3.1923, 5.2198)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2340 #234E31
analogous
#47234E #4E2340 #4E232B
triadic
#4E2340 #404E23 #23404E
tetradic
#4E2340 #4E4723 #234E31 #232B4E
square
#4E2340 #4E4723 #234E31 #232B4E
split-complementary
#4E2340 #2B4E23 #234E47
monochromatic
#150911 #24101D #4E2340 #783663 #A24985

Accessibility & contrast

On white

12.82
#4E2340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4E2340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2340
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2340#FFFFFF#000000##FFFFFF
##4E23401.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252E41
Deuteranopia (green-blind)
#31353F
Tritanopia (blue-blind)
#52242E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e2340;
/* rgb */ color: rgb(78, 35, 64);
/* oklch */ color: oklch(32.7% 0.076 341.2);
Tailwind
colors: {
  custom: {
    50: '#816074',
    500: '#4e2340',
    950: '#000000',
  },
}
SCSS
$custom: #4e2340;
$custom-light: #816074;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2340",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 319.535,
    "s": 38.053,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32712,
    "c": 0.07643,
    "h": 341.2
  },
  "luminance": 0.03192
}

Semantic roles & 50–950 ramp

primary
#4E2340
secondary
#4B825D
accent
#CE805A
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0508
muted
#7C797B

Preview Lab

Preview with #4E2340

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

Preview Lab → · Contrast checker → · Palette generator →

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