#4C0D34#4C0D34

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

Color values

HEX#4C0D34
RGBrgb(76, 13, 52)
HSLhsl(323, 71%, 17%)
HSVhsv(323, 83%, 30%)
CMYKcmyk(0%, 82.9%, 31.6%, 70.2%)
CIE-LABlab(15.86, 32.79, -8.36)
CIE-LCHlch(15.86, 33.83, 345.70°)
OKLaboklab(28.82% 0.0999 -0.022)
OKLCHoklch(28.82% 0.102 347.6)
XYZxyz(3.7444, 2.0727, 3.4510)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D34 #0D4C25
analogous
#450D4C #4C0D34 #4C0D15
triadic
#4C0D34 #344C0D #0D344C
tetradic
#4C0D34 #4C450D #0D4C25 #0D154C
square
#4C0D34 #4C450D #0D4C25 #0D154C
split-complementary
#4C0D34 #154C0D #0D4C45
monochromatic
#1A0412 #1A0412 #4C0D34 #801658 #B51F7C

Accessibility & contrast

On white

14.85
#4C0D34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0D34
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D34#FFFFFF#000000##FFFFFF
##4C0D341.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162135
Deuteranopia (green-blind)
#292B33
Tritanopia (blue-blind)
#520A1F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4c0d34;
/* rgb */ color: rgb(76, 13, 52);
/* oklch */ color: oklch(28.8% 0.102 347.6);
Tailwind
colors: {
  custom: {
    50: '#81536b',
    500: '#4c0d34',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d34;
$custom-light: #81536b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d34",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 52
  },
  "hsl": {
    "h": 322.857,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28824,
    "c": 0.10225,
    "h": 347.6
  },
  "luminance": 0.02072
}

Semantic roles & 50–950 ramp

primary
#4C0D34
secondary
#2E8750
accent
#EE7F3A
background
#F8F4F6
surface
#EFE8EB
border
#CAC4C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4C0D34

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

Preview Lab → · Contrast checker → · Palette generator →

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