#4C0D33#4C0D33

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

Color values

HEX#4C0D33
RGBrgb(76, 13, 51)
HSLhsl(324, 71%, 17%)
HSVhsv(324, 83%, 30%)
CMYKcmyk(0%, 82.9%, 32.9%, 70.2%)
CIE-LABlab(15.82, 32.64, -7.71)
CIE-LCHlch(15.82, 33.54, 346.71°)
OKLaboklab(28.78% 0.0996 -0.0202)
OKLCHoklch(28.78% 0.102 348.5)
XYZxyz(3.7221, 2.0638, 3.3337)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D33 #0D4C26
analogous
#460D4C #4C0D33 #4C0D13
triadic
#4C0D33 #334C0D #0D334C
tetradic
#4C0D33 #4C460D #0D4C26 #0D134C
square
#4C0D33 #4C460D #0D4C26 #0D134C
split-complementary
#4C0D33 #134C0D #0D4C46
monochromatic
#1A0412 #1A0412 #4C0D33 #801656 #B51F79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C0D33#FFFFFF#000000##FFFFFF
##4C0D331.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)
#172034
Deuteranopia (green-blind)
#292B32
Tritanopia (blue-blind)
#520A1E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4c0d33;
/* rgb */ color: rgb(76, 13, 51);
/* oklch */ color: oklch(28.8% 0.102 348.5);
Tailwind
colors: {
  custom: {
    50: '#81536a',
    500: '#4c0d33',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d33;
$custom-light: #81536a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d33",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 51
  },
  "hsl": {
    "h": 323.81,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28776,
    "c": 0.10163,
    "h": 348.5
  },
  "luminance": 0.02063
}

Semantic roles & 50–950 ramp

primary
#4C0D33
secondary
#2E8751
accent
#EE813A
background
#F8F4F6
surface
#EFE8EB
border
#CAC4C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4C0D33

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

Preview Lab → · Contrast checker → · Palette generator →

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