#4C1031#4C1031

#4C1031 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.0% C 0.096 H 351.1°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#4C1031
RGBrgb(76, 16, 49)
HSLhsl(327, 65%, 18%)
HSVhsv(327, 79%, 30%)
CMYKcmyk(0%, 78.9%, 35.5%, 70.2%)
CIE-LABlab(16.15, 31.18, -5.77)
CIE-LCHlch(16.15, 31.71, 349.52°)
OKLaboklab(28.99% 0.0953 -0.015)
OKLCHoklch(28.99% 0.096 351.1)
XYZxyz(3.7204, 2.1293, 3.1202)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1031 #104C2B
analogous
#49104C #4C1031 #4C1013
triadic
#4C1031 #314C10 #10314C
tetradic
#4C1031 #4C4910 #104C2B #10134C
square
#4C1031 #4C4910 #104C2B #10134C
split-complementary
#4C1031 #134C10 #104C49
monochromatic
#190510 #190510 #4C1031 #7F1B52 #B12572

Accessibility & contrast

On white

14.73
#4C1031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1031
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1031#FFFFFF#000000##FFFFFF
##4C10311.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2132
Deuteranopia (green-blind)
#2B2C30
Tritanopia (blue-blind)
#520C1E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c1031;
/* rgb */ color: rgb(76, 16, 49);
/* oklch */ color: oklch(29.0% 0.096 351.1);
Tailwind
colors: {
  custom: {
    50: '#815469',
    500: '#4c1031',
    950: '#000000',
  },
}
SCSS
$custom: #4c1031;
$custom-light: #815469;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1031",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 49
  },
  "hsl": {
    "h": 327,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2899,
    "c": 0.09646,
    "h": 351.1
  },
  "luminance": 0.02129
}

Semantic roles & 50–950 ramp

primary
#4C1031
secondary
#328658
accent
#E88B40
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4C1031

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

Preview Lab → · Contrast checker → · Palette generator →

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