#4C1234#4C1234

#4C1234 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.4% C 0.095 H 348.5°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#4C1234
RGBrgb(76, 18, 52)
HSLhsl(325, 62%, 18%)
HSVhsv(325, 76%, 30%)
CMYKcmyk(0%, 76.3%, 31.6%, 70.2%)
CIE-LABlab(16.59, 30.75, -7.25)
CIE-LCHlch(16.59, 31.59, 346.73°)
OKLaboklab(29.35% 0.0935 -0.019)
OKLCHoklch(29.35% 0.095 348.5)
XYZxyz(3.8168, 2.2175, 3.4752)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1234 #124C2A
analogous
#47124C #4C1234 #4C1217
triadic
#4C1234 #344C12 #12344C
tetradic
#4C1234 #4C4712 #124C2A #12174C
square
#4C1234 #4C4712 #124C2A #12174C
split-complementary
#4C1234 #174C12 #124C47
monochromatic
#190611 #1B0612 #4C1234 #7D1E56 #AF2978

Accessibility & contrast

On white

14.55
#4C1234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1234
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1234#FFFFFF#000000##FFFFFF
##4C12341.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2335
Deuteranopia (green-blind)
#2B2D33
Tritanopia (blue-blind)
#521021
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c1234;
/* rgb */ color: rgb(76, 18, 52);
/* oklch */ color: oklch(29.4% 0.095 348.5);
Tailwind
colors: {
  custom: {
    50: '#81556b',
    500: '#4c1234',
    950: '#000000',
  },
}
SCSS
$custom: #4c1234;
$custom-light: #81556b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1234",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 52
  },
  "hsl": {
    "h": 324.828,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29354,
    "c": 0.09543,
    "h": 348.5
  },
  "luminance": 0.02217
}

Semantic roles & 50–950 ramp

primary
#4C1234
secondary
#358556
accent
#E58643
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4C1234

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

Preview Lab → · Contrast checker → · Palette generator →

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