#4C1328#4C1328

#4C1328 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.0% C 0.088 H 1.8°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#4C1328
RGBrgb(76, 19, 40)
HSLhsl(338, 60%, 19%)
HSVhsv(338, 75%, 30%)
CMYKcmyk(0%, 75%, 47.4%, 70.2%)
CIE-LABlab(16.29, 28.70, 0.91)
CIE-LCHlch(16.29, 28.72, 1.82°)
OKLaboklab(28.98% 0.0878 0.0027)
OKLCHoklch(28.98% 0.088 1.8)
XYZxyz(3.5966, 2.1559, 2.2338)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1328 #134C37
analogous
#4C1344 #4C1328 #4C1A13
triadic
#4C1328 #284C13 #13284C
tetradic
#4C1328 #444C13 #134C37 #1A134C
square
#4C1328 #444C13 #134C37 #1A134C
split-complementary
#4C1328 #134C1A #13444C
monochromatic
#18060D #1B070E #4C1328 #7D1F42 #AE2B5C

Accessibility & contrast

On white

14.68
#4C1328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1328
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1328#FFFFFF#000000##FFFFFF
##4C13281.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2129
Deuteranopia (green-blind)
#2E2C27
Tritanopia (blue-blind)
#530C1C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c1328;
/* rgb */ color: rgb(76, 19, 40);
/* oklch */ color: oklch(29.0% 0.088 1.8);
Tailwind
colors: {
  custom: {
    50: '#815561',
    500: '#4c1328',
    950: '#000000',
  },
}
SCSS
$custom: #4c1328;
$custom-light: #815561;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1328",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 40
  },
  "hsl": {
    "h": 337.895,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28976,
    "c": 0.08787,
    "h": 1.8
  },
  "luminance": 0.02155
}

Semantic roles & 50–950 ramp

primary
#4C1328
secondary
#368568
accent
#E3A945
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4C1328

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

Preview Lab → · Contrast checker → · Palette generator →

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