#4C1038#4C1038

#4C1038 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.3% C 0.101 H 344.3°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#4C1038
RGBrgb(76, 16, 56)
HSLhsl(320, 65%, 18%)
HSVhsv(320, 79%, 30%)
CMYKcmyk(0%, 78.9%, 26.3%, 70.2%)
CIE-LABlab(16.47, 32.20, -10.28)
CIE-LCHlch(16.47, 33.80, 342.30°)
OKLaboklab(29.33% 0.0972 -0.0274)
OKLCHoklch(29.33% 0.101 344.3)
XYZxyz(3.8797, 2.1930, 3.9596)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1038 #104C24
analogous
#42104C #4C1038 #4C101A
triadic
#4C1038 #384C10 #10384C
tetradic
#4C1038 #4C4210 #104C24 #101A4C
square
#4C1038 #4C4210 #104C24 #101A4C
split-complementary
#4C1038 #1A4C10 #104C42
monochromatic
#190513 #190513 #4C1038 #7F1B5D #B12583

Accessibility & contrast

On white

14.60
#4C1038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4C1038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1038
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1038#FFFFFF#000000##FFFFFF
##4C10381.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172239
Deuteranopia (green-blind)
#292C37
Tritanopia (blue-blind)
#511022
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c1038;
/* rgb */ color: rgb(76, 16, 56);
/* oklch */ color: oklch(29.3% 0.101 344.3);
Tailwind
colors: {
  custom: {
    50: '#81556e',
    500: '#4c1038',
    950: '#000000',
  },
}
SCSS
$custom: #4c1038;
$custom-light: #81556e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1038",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 56
  },
  "hsl": {
    "h": 320,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29326,
    "c": 0.10099,
    "h": 344.3
  },
  "luminance": 0.02193
}

Semantic roles & 50–950 ramp

primary
#4C1038
secondary
#32864E
accent
#E87840
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4C1038

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

Preview Lab → · Contrast checker → · Palette generator →

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