#4C1232#4C1232

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

Color values

HEX#4C1232
RGBrgb(76, 18, 50)
HSLhsl(327, 62%, 18%)
HSVhsv(327, 76%, 30%)
CMYKcmyk(0%, 76.3%, 34.2%, 70.2%)
CIE-LABlab(16.50, 30.46, -5.96)
CIE-LCHlch(16.50, 31.04, 348.94°)
OKLaboklab(29.26% 0.0929 -0.0155)
OKLCHoklch(29.26% 0.094 350.5)
XYZxyz(3.7727, 2.1998, 3.2429)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1232 #124C2C
analogous
#49124C #4C1232 #4C1215
triadic
#4C1232 #324C12 #12324C
tetradic
#4C1232 #4C4912 #124C2C #12154C
square
#4C1232 #4C4912 #124C2C #12154C
split-complementary
#4C1232 #154C12 #124C49
monochromatic
#190610 #1B0611 #4C1232 #7D1E53 #AF2973

Accessibility & contrast

On white

14.59
#4C1232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1232
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1232#FFFFFF#000000##FFFFFF
##4C12321.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2233
Deuteranopia (green-blind)
#2B2D31
Tritanopia (blue-blind)
#520F20
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c1232;
/* rgb */ color: rgb(76, 18, 50);
/* oklch */ color: oklch(29.3% 0.094 350.5);
Tailwind
colors: {
  custom: {
    50: '#815569',
    500: '#4c1232',
    950: '#000000',
  },
}
SCSS
$custom: #4c1232;
$custom-light: #815569;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1232",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 50
  },
  "hsl": {
    "h": 326.897,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29262,
    "c": 0.09419,
    "h": 350.5
  },
  "luminance": 0.02199
}

Semantic roles & 50–950 ramp

primary
#4C1232
secondary
#358559
accent
#E58C43
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4C1232

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

Preview Lab → · Contrast checker → · Palette generator →

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