#4D0C3D#4D0C3D

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

Color values

HEX#4D0C3D
RGBrgb(77, 12, 61)
HSLhsl(315, 73%, 17%)
HSVhsv(315, 84%, 30%)
CMYKcmyk(0%, 84.4%, 20.8%, 69.8%)
CIE-LABlab(16.40, 34.78, -13.91)
CIE-LCHlch(16.40, 37.46, 338.20°)
OKLaboklab(29.39% 0.1039 -0.0376)
OKLCHoklch(29.39% 0.11 340.1)
XYZxyz(4.0345, 2.1781, 4.6219)
Luminance0.0218 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C3D #0C4D1C
analogous
#3C0C4D #4D0C3D #4D0C1D
triadic
#4D0C3D #3D4D0C #0C3D4D
tetradic
#4D0C3D #4D3C0C #0C4D1C #0C1D4D
square
#4D0C3D #4D3C0C #0C4D1C #0C1D4D
split-complementary
#4D0C3D #1D4D0C #0C4D3C
monochromatic
#1A0415 #1A0415 #4D0C3D #821467 #B71D91

Accessibility & contrast

On white

14.63
#4D0C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0C3D
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C3D#FFFFFF#000000##FFFFFF
##4D0C3D1.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11223E
Deuteranopia (green-blind)
#262C3C
Tritanopia (blue-blind)
#520E23
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4d0c3d;
/* rgb */ color: rgb(77, 12, 61);
/* oklch */ color: oklch(29.4% 0.110 340.1);
Tailwind
colors: {
  custom: {
    50: '#825372',
    500: '#4d0c3d',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c3d;
$custom-light: #825372;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c3d",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 61
  },
  "hsl": {
    "h": 314.769,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29394,
    "c": 0.11046,
    "h": 340.1
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

primary
#4D0C3D
secondary
#2C8943
accent
#F06538
background
#F8F5F6
surface
#EFE8EC
border
#CAC4C7
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4D0C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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