#4D0C40#4D0C40

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

Color values

HEX#4D0C40
RGBrgb(77, 12, 64)
HSLhsl(312, 73%, 17%)
HSVhsv(312, 84%, 30%)
CMYKcmyk(0%, 84.4%, 16.9%, 69.8%)
CIE-LABlab(16.56, 35.26, -15.77)
CIE-LCHlch(16.56, 38.63, 335.91°)
OKLaboklab(29.57% 0.1043 -0.0429)
OKLCHoklch(29.57% 0.113 337.7)
XYZxyz(4.1175, 2.2113, 5.0595)
Luminance0.0221 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C40 #0C4D19
analogous
#3A0C4D #4D0C40 #4D0C1F
triadic
#4D0C40 #404D0C #0C404D
tetradic
#4D0C40 #4D3A0C #0C4D19 #0C1F4D
square
#4D0C40 #4D3A0C #0C4D19 #0C1F4D
split-complementary
#4D0C40 #1F4D0C #0C4D3A
monochromatic
#1A0416 #1A0416 #4D0C40 #82146C #B71D98

Accessibility & contrast

On white

14.56
#4D0C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0C40
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C40#FFFFFF#000000##FFFFFF
##4D0C401.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2341
Deuteranopia (green-blind)
#252C3F
Tritanopia (blue-blind)
#521025
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4d0c40;
/* rgb */ color: rgb(77, 12, 64);
/* oklch */ color: oklch(29.6% 0.113 337.7);
Tailwind
colors: {
  custom: {
    50: '#825375',
    500: '#4d0c40',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c40;
$custom-light: #825375;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c40",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 64
  },
  "hsl": {
    "h": 312,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29565,
    "c": 0.11274,
    "h": 337.7
  },
  "luminance": 0.02211
}

Semantic roles & 50–950 ramp

primary
#4D0C40
secondary
#2C893F
accent
#F05D38
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4D0C40

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

Preview Lab → · Contrast checker → · Palette generator →

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