#4C1340#4C1340

#4C1340 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.103 H 337.4°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#4C1340
RGBrgb(76, 19, 64)
HSLhsl(313, 60%, 19%)
HSVhsv(313, 75%, 30%)
CMYKcmyk(0%, 75%, 15.8%, 70.2%)
CIE-LABlab(17.33, 32.23, -14.57)
CIE-LCHlch(17.33, 35.37, 335.67°)
OKLaboklab(30.09% 0.0949 -0.0395)
OKLCHoklch(30.09% 0.103 337.4)
XYZxyz(4.1388, 2.3728, 5.0895)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1340 #134C1F
analogous
#3B134C #4C1340 #4C1323
triadic
#4C1340 #404C13 #13404C
tetradic
#4C1340 #4C3B13 #134C1F #13234C
square
#4C1340 #4C3B13 #134C1F #13234C
split-complementary
#4C1340 #234C13 #134C3B
monochromatic
#180615 #1B0717 #4C1340 #7D1F69 #AE2B92

Accessibility & contrast

On white

14.24
#4C1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4C1340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1340
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1340#FFFFFF#000000##FFFFFF
##4C13401.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152541
Deuteranopia (green-blind)
#272E3F
Tritanopia (blue-blind)
#501627
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c1340;
/* rgb */ color: rgb(76, 19, 64);
/* oklch */ color: oklch(30.1% 0.103 337.4);
Tailwind
colors: {
  custom: {
    50: '#805675',
    500: '#4c1340',
    950: '#000000',
  },
}
SCSS
$custom: #4c1340;
$custom-light: #805675;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1340",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 312.632,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30088,
    "c": 0.1028,
    "h": 337.4
  },
  "luminance": 0.02372
}

Semantic roles & 50–950 ramp

primary
#4C1340
secondary
#368547
accent
#E36645
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4C1340

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

Preview Lab → · Contrast checker → · Palette generator →

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