#4C0C3F#4C0C3F

#4C0C3F is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.3% C 0.111 H 337.8°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#4C0C3F
RGBrgb(76, 12, 63)
HSLhsl(312, 73%, 17%)
HSVhsv(312, 84%, 30%)
CMYKcmyk(0%, 84.2%, 17.1%, 70.2%)
CIE-LABlab(16.30, 34.83, -15.49)
CIE-LCHlch(16.30, 38.12, 336.03°)
OKLaboklab(29.32% 0.1031 -0.0421)
OKLCHoklch(29.32% 0.111 337.8)
XYZxyz(4.0093, 2.1587, 4.9072)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0C3F #0C4C19
analogous
#390C4C #4C0C3F #4C0C1F
triadic
#4C0C3F #3F4C0C #0C3F4C
tetradic
#4C0C3F #4C390C #0C4C19 #0C1F4C
square
#4C0C3F #4C390C #0C4C19 #0C1F4C
split-complementary
#4C0C3F #1F4C0C #0C4C39
monochromatic
#1A0416 #1A0416 #4C0C3F #81146B #B61D97

Accessibility & contrast

On white

14.67
#4C0C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0C3F
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0C3F#FFFFFF#000000##FFFFFF
##4C0C3F1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2240
Deuteranopia (green-blind)
#252C3E
Tritanopia (blue-blind)
#511024
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c0c3f;
/* rgb */ color: rgb(76, 12, 63);
/* oklch */ color: oklch(29.3% 0.111 337.8);
Tailwind
colors: {
  custom: {
    50: '#815374',
    500: '#4c0c3f',
    950: '#000000',
  },
}
SCSS
$custom: #4c0c3f;
$custom-light: #815374;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0c3f",
  "rgb": {
    "r": 76,
    "g": 12,
    "b": 63
  },
  "hsl": {
    "h": 312.188,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29322,
    "c": 0.11131,
    "h": 337.8
  },
  "luminance": 0.02158
}

Semantic roles & 50–950 ramp

primary
#4C0C3F
secondary
#2C883F
accent
#EF5E38
background
#F8F5F7
surface
#EFE8ED
border
#CAC4C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4C0C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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