#4C0D2A#4C0D2A

#4C0D2A is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.4% C 0.097 H 357.5°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#4C0D2A
RGBrgb(76, 13, 42)
HSLhsl(332, 71%, 17%)
HSVhsv(332, 83%, 30%)
CMYKcmyk(0%, 82.9%, 44.7%, 70.2%)
CIE-LABlab(15.45, 31.48, -1.77)
CIE-LCHlch(15.45, 31.53, 356.79°)
OKLaboklab(28.38% 0.0967 -0.0042)
OKLCHoklch(28.38% 0.097 357.5)
XYZxyz(3.5426, 1.9920, 2.3880)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D2A #0D4C2F
analogous
#4C0D4A #4C0D2A #4C0F0D
triadic
#4C0D2A #2A4C0D #0D2A4C
tetradic
#4C0D2A #4A4C0D #0D4C2F #0F0D4C
square
#4C0D2A #4A4C0D #0D4C2F #0F0D4C
split-complementary
#4C0D2A #0D4C0F #0D4A4C
monochromatic
#1A040E #1A040E #4C0D2A #801647 #B51F64

Accessibility & contrast

On white

15.02
#4C0D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#4C0D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0D2A
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D2A#FFFFFF#000000##FFFFFF
##4C0D2A1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1F2B
Deuteranopia (green-blind)
#2C2B29
Tritanopia (blue-blind)
#53051A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4c0d2a;
/* rgb */ color: rgb(76, 13, 42);
/* oklch */ color: oklch(28.4% 0.097 357.5);
Tailwind
colors: {
  custom: {
    50: '#825363',
    500: '#4c0d2a',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d2a;
$custom-light: #825363;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d2a",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 42
  },
  "hsl": {
    "h": 332.381,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2838,
    "c": 0.09679,
    "h": 357.5
  },
  "luminance": 0.01992
}

Semantic roles & 50–950 ramp

primary
#4C0D2A
secondary
#2E875E
accent
#EE9B3A
background
#F8F4F5
surface
#EFE7EA
border
#CAC3C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4C0D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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