#4E0F42#4E0F42

#4E0F42 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.111 H 336.9°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#4E0F42
RGBrgb(78, 15, 66)
HSLhsl(311, 68%, 18%)
HSVhsv(311, 81%, 31%)
CMYKcmyk(0%, 80.8%, 15.4%, 69.4%)
CIE-LABlab(17.25, 34.79, -16.07)
CIE-LCHlch(17.25, 38.32, 335.21°)
OKLaboklab(30.14% 0.1024 -0.0437)
OKLCHoklch(30.14% 0.111 336.9)
XYZxyz(4.2962, 2.3551, 5.3815)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F42 #0F4E1B
analogous
#3A0F4E #4E0F42 #4E0F22
triadic
#4E0F42 #424E0F #0F424E
tetradic
#4E0F42 #4E3A0F #0F4E1B #0F224E
square
#4E0F42 #4E3A0F #0F4E1B #0F224E
split-complementary
#4E0F42 #224E0F #0F4E3A
monochromatic
#1A0516 #1B0517 #4E0F42 #81196D #B52399

Accessibility & contrast

On white

14.28
#4E0F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4E0F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0F42
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F42#FFFFFF#000000##FFFFFF
##4E0F421.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112443
Deuteranopia (green-blind)
#262E41
Tritanopia (blue-blind)
#531327
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e0f42;
/* rgb */ color: rgb(78, 15, 66);
/* oklch */ color: oklch(30.1% 0.111 336.9);
Tailwind
colors: {
  custom: {
    50: '#825576',
    500: '#4e0f42',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f42;
$custom-light: #825576;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f42",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 311.429,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30138,
    "c": 0.11136,
    "h": 336.9
  },
  "luminance": 0.02355
}

Semantic roles & 50–950 ramp

primary
#4E0F42
secondary
#318841
accent
#EB5E3D
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E0F42

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

Preview Lab → · Contrast checker → · Palette generator →

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