#4D0C3C#4D0C3C

#4D0C3C is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.3% C 0.110 H 340.9°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#4D0C3C
RGBrgb(77, 12, 60)
HSLhsl(316, 73%, 17%)
HSVhsv(316, 84%, 30%)
CMYKcmyk(0%, 84.4%, 22.1%, 69.8%)
CIE-LABlab(16.34, 34.62, -13.29)
CIE-LCHlch(16.34, 37.09, 339.00°)
OKLaboklab(29.34% 0.1037 -0.0358)
OKLCHoklch(29.34% 0.11 340.9)
XYZxyz(4.0078, 2.1674, 4.4814)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C3C #0C4D1D
analogous
#3D0C4D #4D0C3C #4D0C1C
triadic
#4D0C3C #3C4D0C #0C3C4D
tetradic
#4D0C3C #4D3D0C #0C4D1D #0C1C4D
square
#4D0C3C #4D3D0C #0C4D1D #0C1C4D
split-complementary
#4D0C3C #1C4D0C #0C4D3D
monochromatic
#1A0415 #1A0415 #4D0C3C #821465 #B71D8F

Accessibility & contrast

On white

14.65
#4D0C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0C3C
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C3C#FFFFFF#000000##FFFFFF
##4D0C3C1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12223D
Deuteranopia (green-blind)
#272C3B
Tritanopia (blue-blind)
#520E23
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4d0c3c;
/* rgb */ color: rgb(77, 12, 60);
/* oklch */ color: oklch(29.3% 0.110 340.9);
Tailwind
colors: {
  custom: {
    50: '#825371',
    500: '#4d0c3c',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c3c;
$custom-light: #825371;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c3c",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 60
  },
  "hsl": {
    "h": 315.692,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29338,
    "c": 0.10973,
    "h": 340.9
  },
  "luminance": 0.02167
}

Semantic roles & 50–950 ramp

primary
#4D0C3C
secondary
#2C8944
accent
#F06838
background
#F8F5F6
surface
#EFE8EC
border
#CAC4C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4D0C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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