#4C0D3C#4C0D3C

#4C0D3C is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.2% C 0.108 H 340.4°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#4C0D3C
RGBrgb(76, 13, 60)
HSLhsl(315, 71%, 17%)
HSVhsv(315, 83%, 30%)
CMYKcmyk(0%, 82.9%, 21.1%, 70.2%)
CIE-LABlab(16.26, 33.99, -13.43)
CIE-LCHlch(16.26, 36.55, 338.44°)
OKLaboklab(29.24% 0.1016 -0.0362)
OKLCHoklch(29.24% 0.108 340.4)
XYZxyz(3.9401, 2.1510, 4.4818)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D3C #0D4C1D
analogous
#3D0D4C #4C0D3C #4C0D1D
triadic
#4C0D3C #3C4C0D #0D3C4C
tetradic
#4C0D3C #4C3D0D #0D4C1D #0D1D4C
square
#4C0D3C #4C3D0D #0D4C1D #0D1D4C
split-complementary
#4C0D3C #1D4C0D #0D4C3D
monochromatic
#1A0415 #1A0415 #4C0D3C #801665 #B51F8F

Accessibility & contrast

On white

14.68
#4C0D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4C0D3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0D3C
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D3C#FFFFFF#000000##FFFFFF
##4C0D3C1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12223D
Deuteranopia (green-blind)
#262C3B
Tritanopia (blue-blind)
#510F23
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c0d3c;
/* rgb */ color: rgb(76, 13, 60);
/* oklch */ color: oklch(29.2% 0.108 340.4);
Tailwind
colors: {
  custom: {
    50: '#815372',
    500: '#4c0d3c',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d3c;
$custom-light: #815372;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d3c",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 60
  },
  "hsl": {
    "h": 315.238,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29241,
    "c": 0.10783,
    "h": 340.4
  },
  "luminance": 0.02151
}

Semantic roles & 50–950 ramp

primary
#4C0D3C
secondary
#2E8744
accent
#EE683A
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4C0D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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