#4E1942#4E1942

#4E1942 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.097 H 337.6°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#4E1942
RGBrgb(78, 25, 66)
HSLhsl(314, 51%, 20%)
HSVhsv(314, 68%, 31%)
CMYKcmyk(0%, 67.9%, 15.4%, 69.4%)
CIE-LABlab(18.84, 30.36, -13.60)
CIE-LCHlch(18.84, 33.27, 335.87°)
OKLaboklab(31.29% 0.0892 -0.0368)
OKLCHoklch(31.29% 0.097 337.6)
XYZxyz(4.4730, 2.7087, 5.4404)
Luminance0.0271 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1942 #194E25
analogous
#3F194E #4E1942 #4E1927
triadic
#4E1942 #424E19 #19424E
tetradic
#4E1942 #4E3F19 #194E25 #19274E
square
#4E1942 #4E3F19 #194E25 #19274E
split-complementary
#4E1942 #274E19 #194E3F
monochromatic
#170714 #200A1B #4E1942 #7C2869 #AB3790

Accessibility & contrast

On white

13.62
#4E1942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4E1942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1942
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1942#FFFFFF#000000##FFFFFF
##4E19421.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2943
Deuteranopia (green-blind)
#2B3141
Tritanopia (blue-blind)
#521B2A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1942;
/* rgb */ color: rgb(78, 25, 66);
/* oklch */ color: oklch(31.3% 0.097 337.6);
Tailwind
colors: {
  custom: {
    50: '#825a76',
    500: '#4e1942',
    950: '#000000',
  },
}
SCSS
$custom: #4e1942;
$custom-light: #825a76;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1942",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 66
  },
  "hsl": {
    "h": 313.585,
    "s": 51.456,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31292,
    "c": 0.0965,
    "h": 337.6
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#4E1942
secondary
#3E844E
accent
#DB6D4D
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #4E1942

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

Preview Lab → · Contrast checker → · Palette generator →

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