#4C0C29#4C0C29

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

Color values

HEX#4C0C29
RGBrgb(76, 12, 41)
HSLhsl(333, 73%, 17%)
HSVhsv(333, 84%, 30%)
CMYKcmyk(0%, 84.2%, 46.1%, 70.2%)
CIE-LABlab(15.28, 31.73, -1.29)
CIE-LCHlch(15.28, 31.76, 357.68°)
OKLaboklab(28.24% 0.0975 -0.003)
OKLCHoklch(28.24% 0.098 358.2)
XYZxyz(3.5125, 1.9600, 2.2907)
Luminance0.0196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0C29 #0C4C2F
analogous
#4C0C49 #4C0C29 #4C0F0C
triadic
#4C0C29 #294C0C #0C294C
tetradic
#4C0C29 #494C0C #0C4C2F #0F0C4C
square
#4C0C29 #494C0C #0C4C2F #0F0C4C
split-complementary
#4C0C29 #0C4C0F #0C494C
monochromatic
#1A040E #1A040E #4C0C29 #811446 #B61D62

Accessibility & contrast

On white

15.09
#4C0C29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0C29
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0C29#FFFFFF#000000##FFFFFF
##4C0C291.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1F2A
Deuteranopia (green-blind)
#2B2B28
Tritanopia (blue-blind)
#530319
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0c29;
/* rgb */ color: rgb(76, 12, 41);
/* oklch */ color: oklch(28.2% 0.098 358.2);
Tailwind
colors: {
  custom: {
    50: '#825262',
    500: '#4c0c29',
    950: '#000000',
  },
}
SCSS
$custom: #4c0c29;
$custom-light: #825262;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0c29",
  "rgb": {
    "r": 76,
    "g": 12,
    "b": 41
  },
  "hsl": {
    "h": 332.813,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28244,
    "c": 0.09756,
    "h": 358.2
  },
  "luminance": 0.0196
}

Semantic roles & 50–950 ramp

primary
#4C0C29
secondary
#2C885E
accent
#EF9C38
background
#F8F4F5
surface
#EFE7EA
border
#CAC3C6
text
#0B0205
muted
#7C7879

Preview Lab

Preview with #4C0C29

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

Preview Lab → · Contrast checker → · Palette generator →

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