#4D0C2C#4D0C2C

#4D0C2C is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.6% C 0.100 H 355.8°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#4D0C2C
RGBrgb(77, 12, 44)
HSLhsl(330, 73%, 17%)
HSVhsv(330, 84%, 30%)
CMYKcmyk(0%, 84.4%, 42.9%, 69.8%)
CIE-LABlab(15.61, 32.40, -2.96)
CIE-LCHlch(15.61, 32.54, 354.79°)
OKLaboklab(28.56% 0.0996 -0.0074)
OKLCHoklch(28.56% 0.1 355.8)
XYZxyz(3.6469, 2.0230, 2.5808)
Luminance0.0202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C2C #0C4D2D
analogous
#4D0C4C #4D0C2C #4D0D0C
triadic
#4D0C2C #2C4D0C #0C2C4D
tetradic
#4D0C2C #4C4D0C #0C4D2D #0D0C4D
square
#4D0C2C #4C4D0C #0C4D2D #0D0C4D
split-complementary
#4D0C2C #0C4D0D #0C4C4D
monochromatic
#1A040F #1A040F #4D0C2C #82144A #B71D69

Accessibility & contrast

On white

14.95
#4D0C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#4D0C2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0C2C
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C2C#FFFFFF#000000##FFFFFF
##4D0C2C1.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191F2D
Deuteranopia (green-blind)
#2C2B2B
Tritanopia (blue-blind)
#54041A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4d0c2c;
/* rgb */ color: rgb(77, 12, 44);
/* oklch */ color: oklch(28.6% 0.100 355.8);
Tailwind
colors: {
  custom: {
    50: '#825365',
    500: '#4d0c2c',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c2c;
$custom-light: #825365;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c2c",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 44
  },
  "hsl": {
    "h": 330.462,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28564,
    "c": 0.09984,
    "h": 355.8
  },
  "luminance": 0.02023
}

Semantic roles & 50–950 ramp

primary
#4D0C2C
secondary
#2C895B
accent
#F09538
background
#F8F4F6
surface
#EFE7EB
border
#CAC3C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #4D0C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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