#4D0E42#4D0E42

#4D0E42 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.9% C 0.112 H 336.2°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#4D0E42
RGBrgb(77, 14, 66)
HSLhsl(310, 69%, 18%)
HSVhsv(310, 82%, 30%)
CMYKcmyk(0%, 81.8%, 14.3%, 69.8%)
CIE-LABlab(16.92, 34.89, -16.60)
CIE-LCHlch(16.92, 38.64, 334.55°)
OKLaboklab(29.86% 0.1024 -0.0453)
OKLCHoklch(29.86% 0.112 336.2)
XYZxyz(4.2010, 2.2856, 5.3731)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0E42 #0E4D19
analogous
#380E4D #4D0E42 #4D0E22
triadic
#4D0E42 #424D0E #0E424D
tetradic
#4D0E42 #4D380E #0E4D19 #0E224D
square
#4D0E42 #4D380E #0E4D19 #0E224D
split-complementary
#4D0E42 #224D0E #0E4D38
monochromatic
#1A0516 #1A0516 #4D0E42 #81176E #B5219B

Accessibility & contrast

On white

14.41
#4D0E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0E42
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0E42#FFFFFF#000000##FFFFFF
##4D0E421.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2443
Deuteranopia (green-blind)
#252D41
Tritanopia (blue-blind)
#511327
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d0e42;
/* rgb */ color: rgb(77, 14, 66);
/* oklch */ color: oklch(29.9% 0.112 336.2);
Tailwind
colors: {
  custom: {
    50: '#815476',
    500: '#4d0e42',
    950: '#000000',
  },
}
SCSS
$custom: #4d0e42;
$custom-light: #815476;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0e42",
  "rgb": {
    "r": 77,
    "g": 14,
    "b": 66
  },
  "hsl": {
    "h": 310.476,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29862,
    "c": 0.11194,
    "h": 336.2
  },
  "luminance": 0.02285
}

Semantic roles & 50–950 ramp

primary
#4D0E42
secondary
#2F883F
accent
#EC5B3C
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4D0E42

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

Preview Lab → · Contrast checker → · Palette generator →

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