#4C1128#4C1128

#4C1128 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.7% C 0.091 H 0.9°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#4C1128
RGBrgb(76, 17, 40)
HSLhsl(337, 63%, 18%)
HSVhsv(337, 78%, 30%)
CMYKcmyk(0%, 77.6%, 47.4%, 70.2%)
CIE-LABlab(15.96, 29.61, 0.44)
CIE-LCHlch(15.96, 29.61, 0.85°)
OKLaboklab(28.73% 0.0907 0.0015)
OKLCHoklch(28.73% 0.091 0.9)
XYZxyz(3.5642, 2.0910, 2.2230)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1128 #114C35
analogous
#4C1145 #4C1128 #4C1711
triadic
#4C1128 #284C11 #11284C
tetradic
#4C1128 #454C11 #114C35 #17114C
square
#4C1128 #454C11 #114C35 #17114C
split-complementary
#4C1128 #114C17 #11454C
monochromatic
#19060D #1A060E #4C1128 #7E1C42 #B0275D

Accessibility & contrast

On white

14.81
#4C1128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4C1128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1128
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1128#FFFFFF#000000##FFFFFF
##4C11281.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2029
Deuteranopia (green-blind)
#2D2C27
Tritanopia (blue-blind)
#53091B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c1128;
/* rgb */ color: rgb(76, 17, 40);
/* oklch */ color: oklch(28.7% 0.091 0.9);
Tailwind
colors: {
  custom: {
    50: '#825461',
    500: '#4c1128',
    950: '#000000',
  },
}
SCSS
$custom: #4c1128;
$custom-light: #825461;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1128",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 40
  },
  "hsl": {
    "h": 336.61,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28734,
    "c": 0.09072,
    "h": 0.9
  },
  "luminance": 0.02091
}

Semantic roles & 50–950 ramp

primary
#4C1128
secondary
#338565
accent
#E6A641
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4C1128

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

Preview Lab → · Contrast checker → · Palette generator →

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