#4E0D42#4E0D42

#4E0D42 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 30.0% C 0.114 H 336.8°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#4E0D42
RGBrgb(78, 13, 66)
HSLhsl(311, 71%, 18%)
HSVhsv(311, 83%, 31%)
CMYKcmyk(0%, 83.3%, 15.4%, 69.4%)
CIE-LABlab(17.00, 35.52, -16.47)
CIE-LCHlch(17.00, 39.15, 335.12°)
OKLaboklab(29.95% 0.1046 -0.0448)
OKLCHoklch(29.95% 0.114 336.8)
XYZxyz(4.2693, 2.3013, 5.3726)
Luminance0.0230 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0D42 #0D4E19
analogous
#390D4E #4E0D42 #4E0D21
triadic
#4E0D42 #424E0D #0D424E
tetradic
#4E0D42 #4E390D #0D4E19 #0D214E
square
#4E0D42 #4E390D #0D4E19 #0D214E
split-complementary
#4E0D42 #214E0D #0D4E39
monochromatic
#1A0416 #1A0416 #4E0D42 #82166E #B71E9B

Accessibility & contrast

On white

14.38
#4E0D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0D42
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0D42#FFFFFF#000000##FFFFFF
##4E0D421.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2443
Deuteranopia (green-blind)
#262D40
Tritanopia (blue-blind)
#531126
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e0d42;
/* rgb */ color: rgb(78, 13, 66);
/* oklch */ color: oklch(30.0% 0.114 336.8);
Tailwind
colors: {
  custom: {
    50: '#825476',
    500: '#4e0d42',
    950: '#000000',
  },
}
SCSS
$custom: #4e0d42;
$custom-light: #825476;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0d42",
  "rgb": {
    "r": 78,
    "g": 13,
    "b": 66
  },
  "hsl": {
    "h": 311.077,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29954,
    "c": 0.11379,
    "h": 336.8
  },
  "luminance": 0.02301
}

Semantic roles & 50–950 ramp

primary
#4E0D42
secondary
#2E893F
accent
#EE5B3A
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E0D42

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

Preview Lab → · Contrast checker → · Palette generator →

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