#4D0C31#4D0C31

#4D0C31 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.8% C 0.102 H 350.9°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#4D0C31
RGBrgb(77, 12, 49)
HSLhsl(326, 73%, 17%)
HSVhsv(326, 84%, 30%)
CMYKcmyk(0%, 84.4%, 36.4%, 69.8%)
CIE-LABlab(15.81, 33.04, -6.26)
CIE-LCHlch(15.81, 33.62, 349.27°)
OKLaboklab(28.78% 0.1012 -0.0163)
OKLCHoklch(28.78% 0.102 350.9)
XYZxyz(3.7466, 2.0629, 3.1060)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C31 #0C4D28
analogous
#490C4D #4D0C31 #4D0C11
triadic
#4D0C31 #314D0C #0C314D
tetradic
#4D0C31 #4D490C #0C4D28 #0C114D
square
#4D0C31 #4D490C #0C4D28 #0C114D
split-complementary
#4D0C31 #114D0C #0C4D49
monochromatic
#1A0411 #1A0411 #4D0C31 #821453 #B71D74

Accessibility & contrast

On white

14.87
#4D0C31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4D0C31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0C31
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C31#FFFFFF#000000##FFFFFF
##4D0C311.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182032
Deuteranopia (green-blind)
#2A2C30
Tritanopia (blue-blind)
#53071D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4d0c31;
/* rgb */ color: rgb(77, 12, 49);
/* oklch */ color: oklch(28.8% 0.102 350.9);
Tailwind
colors: {
  custom: {
    50: '#825369',
    500: '#4d0c31',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c31;
$custom-light: #825369;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c31",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 49
  },
  "hsl": {
    "h": 325.846,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28783,
    "c": 0.10248,
    "h": 350.9
  },
  "luminance": 0.02062
}

Semantic roles & 50–950 ramp

primary
#4D0C31
secondary
#2C8954
accent
#F08738
background
#F8F4F6
surface
#EFE7EB
border
#CAC3C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4D0C31

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

Preview Lab → · Contrast checker → · Palette generator →

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