#4E0F40#4E0F40

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

Color values

HEX#4E0F40
RGBrgb(78, 15, 64)
HSLhsl(313, 68%, 18%)
HSVhsv(313, 81%, 31%)
CMYKcmyk(0%, 80.8%, 17.9%, 69.4%)
CIE-LABlab(17.14, 34.46, -14.84)
CIE-LCHlch(17.14, 37.52, 336.69°)
OKLaboklab(30.02% 0.1021 -0.0402)
OKLCHoklch(30.02% 0.11 338.5)
XYZxyz(4.2382, 2.3319, 5.0764)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F40 #0F4E1D
analogous
#3C0F4E #4E0F40 #4E0F20
triadic
#4E0F40 #404E0F #0F404E
tetradic
#4E0F40 #4E3C0F #0F4E1D #0F204E
square
#4E0F40 #4E3C0F #0F4E1D #0F204E
split-complementary
#4E0F40 #204E0F #0F4E3C
monochromatic
#1A0515 #1B0516 #4E0F40 #81196A #B52394

Accessibility & contrast

On white

14.32
#4E0F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0F40
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F40#FFFFFF#000000##FFFFFF
##4E0F401.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122441
Deuteranopia (green-blind)
#272E3F
Tritanopia (blue-blind)
#531226
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e0f40;
/* rgb */ color: rgb(78, 15, 64);
/* oklch */ color: oklch(30.0% 0.110 338.5);
Tailwind
colors: {
  custom: {
    50: '#825575',
    500: '#4e0f40',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f40;
$custom-light: #825575;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f40",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 64
  },
  "hsl": {
    "h": 313.333,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30023,
    "c": 0.10978,
    "h": 338.5
  },
  "luminance": 0.02332
}

Semantic roles & 50–950 ramp

primary
#4E0F40
secondary
#318844
accent
#EB643D
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E0F40

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

Preview Lab → · Contrast checker → · Palette generator →

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