#4E2242#4E2242

#4E2242 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 32.6% C 0.080 H 338.8°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#4E2242
RGBrgb(78, 34, 66)
HSLhsl(316, 39%, 22%)
HSVhsv(316, 56%, 31%)
CMYKcmyk(0%, 56.4%, 15.4%, 69.4%)
CIE-LABlab(20.66, 25.45, -10.79)
CIE-LCHlch(20.66, 27.65, 337.03°)
OKLaboklab(32.64% 0.0747 -0.029)
OKLCHoklch(32.64% 0.08 338.8)
XYZxyz(4.6973, 3.1574, 5.5152)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2242 #224E2E
analogous
#44224E #4E2242 #4E222C
triadic
#4E2242 #424E22 #22424E
tetradic
#4E2242 #4E4422 #224E2E #222C4E
square
#4E2242 #4E4422 #224E2E #222C4E
split-complementary
#4E2242 #2C4E22 #224E44
monochromatic
#150912 #230F1E #4E2242 #793566 #A3478A

Accessibility & contrast

On white

12.87
#4E2242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4E2242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2242
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2242#FFFFFF#000000##FFFFFF
##4E22421.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242D43
Deuteranopia (green-blind)
#303441
Tritanopia (blue-blind)
#52232F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e2242;
/* rgb */ color: rgb(78, 34, 66);
/* oklch */ color: oklch(32.6% 0.080 338.8);
Tailwind
colors: {
  custom: {
    50: '#815f76',
    500: '#4e2242',
    950: '#000000',
  },
}
SCSS
$custom: #4e2242;
$custom-light: #815f76;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2242",
  "rgb": {
    "r": 78,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 316.364,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32641,
    "c": 0.08011,
    "h": 338.8
  },
  "luminance": 0.03157
}

Semantic roles & 50–950 ramp

primary
#4E2242
secondary
#4A8259
accent
#CF7959
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0508
muted
#7C797B

Preview Lab

Preview with #4E2242

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

Preview Lab → · Contrast checker → · Palette generator →

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