#4C0C20#4C0C20

#4C0C20 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.9% C 0.095 H 7.6°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#4C0C20
RGBrgb(76, 12, 32)
HSLhsl(341, 73%, 17%)
HSVhsv(341, 84%, 30%)
CMYKcmyk(0%, 84.2%, 57.9%, 70.2%)
CIE-LABlab(14.98, 30.79, 4.87)
CIE-LCHlch(14.98, 31.17, 8.99°)
OKLaboklab(27.93% 0.0938 0.0125)
OKLCHoklch(27.93% 0.095 7.6)
XYZxyz(3.3730, 1.9042, 1.5562)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0C20 #0C4C38
analogous
#4C0C40 #4C0C20 #4C180C
triadic
#4C0C20 #204C0C #0C204C
tetradic
#4C0C20 #404C0C #0C4C38 #180C4C
square
#4C0C20 #404C0C #0C4C38 #180C4C
split-complementary
#4C0C20 #0C4C18 #0C404C
monochromatic
#1A040B #1A040B #4C0C20 #811436 #B61D4D

Accessibility & contrast

On white

15.21
#4C0C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#4C0C20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0C20
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0C20#FFFFFF#000000##FFFFFF
##4C0C201.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1D20
Deuteranopia (green-blind)
#2D2A1E
Tritanopia (blue-blind)
#540015
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0c20;
/* rgb */ color: rgb(76, 12, 32);
/* oklch */ color: oklch(27.9% 0.095 7.6);
Tailwind
colors: {
  custom: {
    50: '#82525b',
    500: '#4c0c20',
    950: '#000000',
  },
}
SCSS
$custom: #4c0c20;
$custom-light: #82525b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0c20",
  "rgb": {
    "r": 76,
    "g": 12,
    "b": 32
  },
  "hsl": {
    "h": 341.25,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27926,
    "c": 0.09465,
    "h": 7.6
  },
  "luminance": 0.01904
}

Semantic roles & 50–950 ramp

primary
#4C0C20
secondary
#2C886B
accent
#EFB638
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0204
muted
#7C7879

Preview Lab

Preview with #4C0C20

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

Preview Lab → · Contrast checker → · Palette generator →

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