#4D0C2A#4D0C2A

#4D0C2A is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.5% C 0.099 H 357.8°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#4D0C2A
RGBrgb(77, 12, 42)
HSLhsl(332, 73%, 17%)
HSVhsv(332, 84%, 30%)
CMYKcmyk(0%, 84.4%, 45.5%, 69.8%)
CIE-LABlab(15.53, 32.16, -1.62)
CIE-LCHlch(15.53, 32.20, 357.12°)
OKLaboklab(28.48% 0.0989 -0.0038)
OKLCHoklch(28.48% 0.099 357.8)
XYZxyz(3.6102, 2.0084, 2.3876)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C2A #0C4D2F
analogous
#4D0C4A #4D0C2A #4D0F0C
triadic
#4D0C2A #2A4D0C #0C2A4D
tetradic
#4D0C2A #4A4D0C #0C4D2F #0F0C4D
square
#4D0C2A #4A4D0C #0C4D2F #0F0C4D
split-complementary
#4D0C2A #0C4D0F #0C4A4D
monochromatic
#1A040E #1A040E #4D0C2A #821447 #B71D64

Accessibility & contrast

On white

14.98
#4D0C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0C2A
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C2A#FFFFFF#000000##FFFFFF
##4D0C2A1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1F2B
Deuteranopia (green-blind)
#2C2B29
Tritanopia (blue-blind)
#540319
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4d0c2a;
/* rgb */ color: rgb(77, 12, 42);
/* oklch */ color: oklch(28.5% 0.099 357.8);
Tailwind
colors: {
  custom: {
    50: '#825263',
    500: '#4d0c2a',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c2a;
$custom-light: #825263;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c2a",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 42
  },
  "hsl": {
    "h": 332.308,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28483,
    "c": 0.09893,
    "h": 357.8
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#4D0C2A
secondary
#2C895E
accent
#F09B38
background
#F8F4F5
surface
#EFE7EA
border
#CAC3C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4D0C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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