#4C0D39#4C0D39

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

Color values

HEX#4C0D39
RGBrgb(76, 13, 57)
HSLhsl(318, 71%, 17%)
HSVhsv(318, 83%, 30%)
CMYKcmyk(0%, 82.9%, 25%, 70.2%)
CIE-LABlab(16.11, 33.52, -11.55)
CIE-LCHlch(16.11, 35.46, 340.99°)
OKLaboklab(29.08% 0.101 -0.0309)
OKLCHoklch(29.08% 0.106 343)
XYZxyz(3.8631, 2.1202, 4.0759)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D39 #0D4C20
analogous
#3F0D4C #4C0D39 #4C0D1A
triadic
#4C0D39 #394C0D #0D394C
tetradic
#4C0D39 #4C3F0D #0D4C20 #0D1A4C
square
#4C0D39 #4C3F0D #0D4C20 #0D1A4C
split-complementary
#4C0D39 #1A4C0D #0D4C3F
monochromatic
#1A0414 #1A0414 #4C0D39 #801660 #B51F87

Accessibility & contrast

On white

14.75
#4C0D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4C0D39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0D39
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D39#FFFFFF#000000##FFFFFF
##4C0D391.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14213A
Deuteranopia (green-blind)
#272C38
Tritanopia (blue-blind)
#510D21
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c0d39;
/* rgb */ color: rgb(76, 13, 57);
/* oklch */ color: oklch(29.1% 0.106 343.0);
Tailwind
colors: {
  custom: {
    50: '#81536f',
    500: '#4c0d39',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d39;
$custom-light: #81536f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d39",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 57
  },
  "hsl": {
    "h": 318.095,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29078,
    "c": 0.10563,
    "h": 343
  },
  "luminance": 0.0212
}

Semantic roles & 50–950 ramp

primary
#4C0D39
secondary
#2E8749
accent
#EE703A
background
#F8F5F6
surface
#EFE8EC
border
#CAC4C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4C0D39

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

Preview Lab → · Contrast checker → · Palette generator →

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