#4E1139#4E1139

#4E1139 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.9% C 0.102 H 344.8°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#4E1139
RGBrgb(78, 17, 57)
HSLhsl(321, 64%, 19%)
HSVhsv(321, 78%, 31%)
CMYKcmyk(0%, 78.2%, 26.9%, 69.4%)
CIE-LABlab(17.07, 32.55, -10.04)
CIE-LCHlch(17.07, 34.07, 342.87°)
OKLaboklab(29.85% 0.0984 -0.0267)
OKLCHoklch(29.85% 0.102 344.8)
XYZxyz(4.0810, 2.3164, 4.1023)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1139 #114E26
analogous
#44114E #4E1139 #4E111A
triadic
#4E1139 #394E11 #11394E
tetradic
#4E1139 #4E4411 #114E26 #111A4E
square
#4E1139 #4E4411 #114E26 #111A4E
split-complementary
#4E1139 #1A4E11 #114E44
monochromatic
#190512 #1C0614 #4E1139 #801C5E #B22782

Accessibility & contrast

On white

14.35
#4E1139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4E1139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1139
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1139#FFFFFF#000000##FFFFFF
##4E11391.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18233A
Deuteranopia (green-blind)
#2A2E38
Tritanopia (blue-blind)
#541023
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e1139;
/* rgb */ color: rgb(78, 17, 57);
/* oklch */ color: oklch(29.9% 0.102 344.8);
Tailwind
colors: {
  custom: {
    50: '#82556f',
    500: '#4e1139',
    950: '#000000',
  },
}
SCSS
$custom: #4e1139;
$custom-light: #82556f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1139",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 57
  },
  "hsl": {
    "h": 320.656,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29854,
    "c": 0.10193,
    "h": 344.8
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#4E1139
secondary
#338750
accent
#E77A41
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4E1139

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

Preview Lab → · Contrast checker → · Palette generator →

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