#4C0C36#4C0C36

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

Color values

HEX#4C0C36
RGBrgb(76, 12, 54)
HSLhsl(321, 73%, 17%)
HSVhsv(321, 84%, 30%)
CMYKcmyk(0%, 84.2%, 28.9%, 70.2%)
CIE-LABlab(15.83, 33.44, -9.84)
CIE-LCHlch(15.83, 34.85, 343.61°)
OKLaboklab(28.83% 0.1015 -0.0261)
OKLCHoklch(28.83% 0.105 345.6)
XYZxyz(3.7780, 2.0662, 3.6892)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0C36 #0C4C22
analogous
#420C4C #4C0C36 #4C0C16
triadic
#4C0C36 #364C0C #0C364C
tetradic
#4C0C36 #4C420C #0C4C22 #0C164C
square
#4C0C36 #4C420C #0C4C22 #0C164C
split-complementary
#4C0C36 #164C0C #0C4C42
monochromatic
#1A0413 #1A0413 #4C0C36 #81145C #B61D81

Accessibility & contrast

On white

14.86
#4C0C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0C36
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0C36#FFFFFF#000000##FFFFFF
##4C0C361.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152137
Deuteranopia (green-blind)
#282B35
Tritanopia (blue-blind)
#520B20
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4c0c36;
/* rgb */ color: rgb(76, 12, 54);
/* oklch */ color: oklch(28.8% 0.105 345.6);
Tailwind
colors: {
  custom: {
    50: '#81536d',
    500: '#4c0c36',
    950: '#000000',
  },
}
SCSS
$custom: #4c0c36;
$custom-light: #81536d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0c36",
  "rgb": {
    "r": 76,
    "g": 12,
    "b": 54
  },
  "hsl": {
    "h": 320.625,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28831,
    "c": 0.10478,
    "h": 345.6
  },
  "luminance": 0.02066
}

Semantic roles & 50–950 ramp

primary
#4C0C36
secondary
#2C884C
accent
#EF7738
background
#F8F4F6
surface
#EFE8EB
border
#CAC4C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4C0C36

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

Preview Lab → · Contrast checker → · Palette generator →

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