#4C0D38#4C0D38

#4C0D38 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.0% C 0.105 H 343.9°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#4C0D38
RGBrgb(76, 13, 56)
HSLhsl(319, 71%, 17%)
HSVhsv(319, 83%, 30%)
CMYKcmyk(0%, 82.9%, 26.3%, 70.2%)
CIE-LABlab(16.06, 33.37, -10.92)
CIE-LCHlch(16.06, 35.11, 341.89°)
OKLaboklab(29.03% 0.1008 -0.0292)
OKLCHoklch(29.03% 0.105 343.9)
XYZxyz(3.8384, 2.1103, 3.9458)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D38 #0D4C21
analogous
#410D4C #4C0D38 #4C0D18
triadic
#4C0D38 #384C0D #0D384C
tetradic
#4C0D38 #4C410D #0D4C21 #0D184C
square
#4C0D38 #4C410D #0D4C21 #0D184C
split-complementary
#4C0D38 #184C0D #0D4C41
monochromatic
#1A0413 #1A0413 #4C0D38 #80165F #B51F85

Accessibility & contrast

On white

14.77
#4C0D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0D38
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D38#FFFFFF#000000##FFFFFF
##4C0D381.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c0d38;
/* rgb */ color: rgb(76, 13, 56);
/* oklch */ color: oklch(29.0% 0.105 343.9);
Tailwind
colors: {
  custom: {
    50: '#81536e',
    500: '#4c0d38',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d38;
$custom-light: #81536e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d38",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 56
  },
  "hsl": {
    "h": 319.048,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29026,
    "c": 0.10493,
    "h": 343.9
  },
  "luminance": 0.0211
}

Semantic roles & 50–950 ramp

primary
#4C0D38
secondary
#2E874A
accent
#EE733A
background
#F8F5F6
surface
#EFE8EC
border
#CAC4C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4C0D38

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

Preview Lab → · Contrast checker → · Palette generator →

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