#4D0C38#4D0C38

#4D0C38 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.1% C 0.107 H 344.4°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#4D0C38
RGBrgb(77, 12, 56)
HSLhsl(319, 73%, 17%)
HSVhsv(319, 84%, 30%)
CMYKcmyk(0%, 84.4%, 27.3%, 69.8%)
CIE-LABlab(16.14, 34.02, -10.77)
CIE-LCHlch(16.14, 35.68, 342.43°)
OKLaboklab(29.12% 0.103 -0.0287)
OKLCHoklch(29.12% 0.107 344.4)
XYZxyz(3.9060, 2.1267, 3.9454)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C38 #0C4D21
analogous
#420C4D #4D0C38 #4D0C17
triadic
#4D0C38 #384D0C #0C384D
tetradic
#4D0C38 #4D420C #0C4D21 #0C174D
square
#4D0C38 #4D420C #0C4D21 #0C174D
split-complementary
#4D0C38 #174D0C #0C4D42
monochromatic
#1A0413 #1A0413 #4D0C38 #82145F #B71D85

Accessibility & contrast

On white

14.73
#4D0C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0C38
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C38#FFFFFF#000000##FFFFFF
##4D0C381.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142139
Deuteranopia (green-blind)
#282C37
Tritanopia (blue-blind)
#530B21
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4d0c38;
/* rgb */ color: rgb(77, 12, 56);
/* oklch */ color: oklch(29.1% 0.107 344.4);
Tailwind
colors: {
  custom: {
    50: '#82536e',
    500: '#4d0c38',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c38;
$custom-light: #82536e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c38",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 56
  },
  "hsl": {
    "h": 319.385,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29124,
    "c": 0.10689,
    "h": 344.4
  },
  "luminance": 0.02126
}

Semantic roles & 50–950 ramp

primary
#4D0C38
secondary
#2C894A
accent
#F07338
background
#F8F5F6
surface
#EFE8EC
border
#CAC4C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4D0C38

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

Preview Lab → · Contrast checker → · Palette generator →

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