#4D0C3F#4D0C3F

#4D0C3F is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.5% C 0.112 H 338.5°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#4D0C3F
RGBrgb(77, 12, 63)
HSLhsl(313, 73%, 17%)
HSVhsv(313, 84%, 30%)
CMYKcmyk(0%, 84.4%, 18.2%, 69.8%)
CIE-LABlab(16.50, 35.10, -15.15)
CIE-LCHlch(16.50, 38.23, 336.65°)
OKLaboklab(29.51% 0.1042 -0.0411)
OKLCHoklch(29.51% 0.112 338.5)
XYZxyz(4.0893, 2.2000, 4.9109)
Luminance0.0220 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C3F #0C4D1A
analogous
#3B0C4D #4D0C3F #4D0C1F
triadic
#4D0C3F #3F4D0C #0C3F4D
tetradic
#4D0C3F #4D3B0C #0C4D1A #0C1F4D
square
#4D0C3F #4D3B0C #0C4D1A #0C1F4D
split-complementary
#4D0C3F #1F4D0C #0C4D3B
monochromatic
#1A0416 #1A0416 #4D0C3F #82146A #B71D96

Accessibility & contrast

On white

14.58
#4D0C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0C3F
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C3F#FFFFFF#000000##FFFFFF
##4D0C3F1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102240
Deuteranopia (green-blind)
#262C3E
Tritanopia (blue-blind)
#520F24
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4d0c3f;
/* rgb */ color: rgb(77, 12, 63);
/* oklch */ color: oklch(29.5% 0.112 338.5);
Tailwind
colors: {
  custom: {
    50: '#825374',
    500: '#4d0c3f',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c3f;
$custom-light: #825374;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c3f",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 63
  },
  "hsl": {
    "h": 312.923,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29507,
    "c": 0.11197,
    "h": 338.5
  },
  "luminance": 0.022
}

Semantic roles & 50–950 ramp

primary
#4D0C3F
secondary
#2C8940
accent
#F06038
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4D0C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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