#4E1138#4E1138

#4E1138 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.8% C 0.101 H 345.7°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#4E1138
RGBrgb(78, 17, 56)
HSLhsl(322, 64%, 19%)
HSVhsv(322, 78%, 31%)
CMYKcmyk(0%, 78.2%, 28.2%, 69.4%)
CIE-LABlab(17.02, 32.40, -9.40)
CIE-LCHlch(17.02, 33.74, 343.82°)
OKLaboklab(29.8% 0.0981 -0.0249)
OKLCHoklch(29.8% 0.101 345.7)
XYZxyz(4.0563, 2.3066, 3.9722)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1138 #114E27
analogous
#45114E #4E1138 #4E1119
triadic
#4E1138 #384E11 #11384E
tetradic
#4E1138 #4E4511 #114E27 #11194E
square
#4E1138 #4E4511 #114E27 #11194E
split-complementary
#4E1138 #194E11 #114E45
monochromatic
#190512 #1C0614 #4E1138 #801C5C #B22780

Accessibility & contrast

On white

14.37
#4E1138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1138
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1138#FFFFFF#000000##FFFFFF
##4E11381.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182339
Deuteranopia (green-blind)
#2B2E37
Tritanopia (blue-blind)
#541022
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e1138;
/* rgb */ color: rgb(78, 17, 56);
/* oklch */ color: oklch(29.8% 0.101 345.7);
Tailwind
colors: {
  custom: {
    50: '#82556e',
    500: '#4e1138',
    950: '#000000',
  },
}
SCSS
$custom: #4e1138;
$custom-light: #82556e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1138",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 56
  },
  "hsl": {
    "h": 321.639,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29804,
    "c": 0.10124,
    "h": 345.7
  },
  "luminance": 0.02306
}

Semantic roles & 50–950 ramp

primary
#4E1138
secondary
#338752
accent
#E77D41
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4E1138

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

Preview Lab → · Contrast checker → · Palette generator →

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