#4C0C3C#4C0C3C

#4C0C3C is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.2% C 0.109 H 340.3°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#4C0C3C
RGBrgb(76, 12, 60)
HSLhsl(315, 73%, 17%)
HSVhsv(315, 84%, 30%)
CMYKcmyk(0%, 84.2%, 21.1%, 70.2%)
CIE-LABlab(16.14, 34.35, -13.63)
CIE-LCHlch(16.14, 36.95, 338.36°)
OKLaboklab(29.15% 0.1026 -0.0368)
OKLCHoklch(29.15% 0.109 340.3)
XYZxyz(3.9277, 2.1261, 4.4776)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0C3C #0C4C1C
analogous
#3C0C4C #4C0C3C #4C0C1C
triadic
#4C0C3C #3C4C0C #0C3C4C
tetradic
#4C0C3C #4C3C0C #0C4C1C #0C1C4C
square
#4C0C3C #4C3C0C #0C4C1C #0C1C4C
split-complementary
#4C0C3C #1C4C0C #0C4C3C
monochromatic
#1A0415 #1A0415 #4C0C3C #811466 #B61D8F

Accessibility & contrast

On white

14.73
#4C0C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0C3C
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0C3C#FFFFFF#000000##FFFFFF
##4C0C3C1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c0c3c;
/* rgb */ color: rgb(76, 12, 60);
/* oklch */ color: oklch(29.2% 0.109 340.3);
Tailwind
colors: {
  custom: {
    50: '#815372',
    500: '#4c0c3c',
    950: '#000000',
  },
}
SCSS
$custom: #4c0c3c;
$custom-light: #815372;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0c3c",
  "rgb": {
    "r": 76,
    "g": 12,
    "b": 60
  },
  "hsl": {
    "h": 315,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29151,
    "c": 0.10902,
    "h": 340.3
  },
  "luminance": 0.02126
}

Semantic roles & 50–950 ramp

primary
#4C0C3C
secondary
#2C8843
accent
#EF6638
background
#F8F5F6
surface
#EFE8EC
border
#CAC4C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4C0C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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