#4D0C3A#4D0C3A

#4D0C3A is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.2% C 0.108 H 342.7°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#4D0C3A
RGBrgb(77, 12, 58)
HSLhsl(318, 73%, 17%)
HSVhsv(318, 84%, 30%)
CMYKcmyk(0%, 84.4%, 24.7%, 69.8%)
CIE-LABlab(16.24, 34.32, -12.04)
CIE-LCHlch(16.24, 36.37, 340.67°)
OKLaboklab(29.23% 0.1034 -0.0323)
OKLCHoklch(29.23% 0.108 342.7)
XYZxyz(3.9559, 2.1466, 4.2082)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C3A #0C4D1F
analogous
#3F0C4D #4D0C3A #4D0C1A
triadic
#4D0C3A #3A4D0C #0C3A4D
tetradic
#4D0C3A #4D3F0C #0C4D1F #0C1A4D
square
#4D0C3A #4D3F0C #0C4D1F #0C1A4D
split-complementary
#4D0C3A #1A4D0C #0C4D3F
monochromatic
#1A0414 #1A0414 #4D0C3A #821462 #B71D8A

Accessibility & contrast

On white

14.69
#4D0C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4D0C3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0C3A
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C3A#FFFFFF#000000##FFFFFF
##4D0C3A1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13213B
Deuteranopia (green-blind)
#282C39
Tritanopia (blue-blind)
#520C22
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4d0c3a;
/* rgb */ color: rgb(77, 12, 58);
/* oklch */ color: oklch(29.2% 0.108 342.7);
Tailwind
colors: {
  custom: {
    50: '#825370',
    500: '#4d0c3a',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c3a;
$custom-light: #825370;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c3a",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 58
  },
  "hsl": {
    "h": 317.538,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2923,
    "c": 0.10828,
    "h": 342.7
  },
  "luminance": 0.02146
}

Semantic roles & 50–950 ramp

primary
#4D0C3A
secondary
#2C8947
accent
#F06E38
background
#F8F5F6
surface
#EFE8EC
border
#CAC4C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4D0C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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