#4C0C28#4C0C28

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

Color values

HEX#4C0C28
RGBrgb(76, 12, 40)
HSLhsl(334, 73%, 17%)
HSVhsv(334, 84%, 30%)
CMYKcmyk(0%, 84.2%, 47.4%, 70.2%)
CIE-LABlab(15.24, 31.62, -0.61)
CIE-LCHlch(15.24, 31.62, 358.89°)
OKLaboklab(28.21% 0.0971 -0.0012)
OKLCHoklch(28.21% 0.097 359.3)
XYZxyz(3.4952, 1.9531, 2.2000)
Luminance0.0195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0C28 #0C4C30
analogous
#4C0C48 #4C0C28 #4C100C
triadic
#4C0C28 #284C0C #0C284C
tetradic
#4C0C28 #484C0C #0C4C30 #100C4C
square
#4C0C28 #484C0C #0C4C30 #100C4C
split-complementary
#4C0C28 #0C4C10 #0C484C
monochromatic
#1A040E #1A040E #4C0C28 #811444 #B61D60

Accessibility & contrast

On white

15.10
#4C0C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#4C0C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0C28
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0C28#FFFFFF#000000##FFFFFF
##4C0C281.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1E29
Deuteranopia (green-blind)
#2C2B27
Tritanopia (blue-blind)
#530318
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0c28;
/* rgb */ color: rgb(76, 12, 40);
/* oklch */ color: oklch(28.2% 0.097 359.3);
Tailwind
colors: {
  custom: {
    50: '#825261',
    500: '#4c0c28',
    950: '#000000',
  },
}
SCSS
$custom: #4c0c28;
$custom-light: #825261;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0c28",
  "rgb": {
    "r": 76,
    "g": 12,
    "b": 40
  },
  "hsl": {
    "h": 333.75,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28205,
    "c": 0.09715,
    "h": 359.3
  },
  "luminance": 0.01953
}

Semantic roles & 50–950 ramp

primary
#4C0C28
secondary
#2C8860
accent
#EF9F38
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0205
muted
#7C7879

Preview Lab

Preview with #4C0C28

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

Preview Lab → · Contrast checker → · Palette generator →

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