#4E0A42#4E0A42

#4E0A42 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.7% C 0.117 H 336.7°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#4E0A42
RGBrgb(78, 10, 66)
HSLhsl(311, 77%, 17%)
HSVhsv(311, 87%, 31%)
CMYKcmyk(0%, 87.2%, 15.4%, 69.4%)
CIE-LABlab(16.65, 36.50, -17.00)
CIE-LCHlch(16.65, 40.26, 335.02°)
OKLaboklab(29.71% 0.1075 -0.0464)
OKLCHoklch(29.71% 0.117 336.7)
XYZxyz(4.2339, 2.2305, 5.3608)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0A42 #0A4E16
analogous
#380A4E #4E0A42 #4E0A20
triadic
#4E0A42 #424E0A #0A424E
tetradic
#4E0A42 #4E380A #0A4E16 #0A204E
square
#4E0A42 #4E380A #0A4E16 #0A204E
split-complementary
#4E0A42 #204E0A #0A4E38
monochromatic
#1B0317 #1B0317 #4E0A42 #841170 #BA189E

Accessibility & contrast

On white

14.52
#4E0A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4E0A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0A42
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0A42#FFFFFF#000000##FFFFFF
##4E0A421.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2343
Deuteranopia (green-blind)
#252D40
Tritanopia (blue-blind)
#530F26
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4e0a42;
/* rgb */ color: rgb(78, 10, 66);
/* oklch */ color: oklch(29.7% 0.117 336.7);
Tailwind
colors: {
  custom: {
    50: '#825376',
    500: '#4e0a42',
    950: '#000000',
  },
}
SCSS
$custom: #4e0a42;
$custom-light: #825376;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0a42",
  "rgb": {
    "r": 78,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 310.588,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29708,
    "c": 0.11708,
    "h": 336.7
  },
  "luminance": 0.0223
}

Semantic roles & 50–950 ramp

primary
#4E0A42
secondary
#298B3A
accent
#F45634
background
#F8F5F7
surface
#EFE8ED
border
#CAC4C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E0A42

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

Preview Lab → · Contrast checker → · Palette generator →

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