#4E0A40#4E0A40

#4E0A40 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.6% C 0.116 H 338.2°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#4E0A40
RGBrgb(78, 10, 64)
HSLhsl(312, 77%, 17%)
HSVhsv(312, 87%, 31%)
CMYKcmyk(0%, 87.2%, 17.9%, 69.4%)
CIE-LABlab(16.54, 36.17, -15.78)
CIE-LCHlch(16.54, 39.46, 336.43°)
OKLaboklab(29.59% 0.1073 -0.0429)
OKLCHoklch(29.59% 0.116 338.2)
XYZxyz(4.1759, 2.2074, 5.0556)
Luminance0.0221 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0A40 #0A4E18
analogous
#3A0A4E #4E0A40 #4E0A1E
triadic
#4E0A40 #404E0A #0A404E
tetradic
#4E0A40 #4E3A0A #0A4E18 #0A1E4E
square
#4E0A40 #4E3A0A #0A4E18 #0A1E4E
split-complementary
#4E0A40 #1E4E0A #0A4E3A
monochromatic
#1B0316 #1B0316 #4E0A40 #84116D #BA1899

Accessibility & contrast

On white

14.57
#4E0A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4E0A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0A40
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0A40#FFFFFF#000000##FFFFFF
##4E0A401.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2241
Deuteranopia (green-blind)
#252D3E
Tritanopia (blue-blind)
#530E24
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4e0a40;
/* rgb */ color: rgb(78, 10, 64);
/* oklch */ color: oklch(29.6% 0.116 338.2);
Tailwind
colors: {
  custom: {
    50: '#825375',
    500: '#4e0a40',
    950: '#000000',
  },
}
SCSS
$custom: #4e0a40;
$custom-light: #825375;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0a40",
  "rgb": {
    "r": 78,
    "g": 10,
    "b": 64
  },
  "hsl": {
    "h": 312.353,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2959,
    "c": 0.11556,
    "h": 338.2
  },
  "luminance": 0.02207
}

Semantic roles & 50–950 ramp

primary
#4E0A40
secondary
#298B3D
accent
#F45B34
background
#F8F5F7
surface
#EFE8ED
border
#CAC4C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E0A40

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

Preview Lab → · Contrast checker → · Palette generator →

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