#4C2239#4C2239

#4C2239 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 31.9% C 0.071 H 347.8°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#4C2239
RGBrgb(76, 34, 57)
HSLhsl(327, 38%, 22%)
HSVhsv(327, 55%, 30%)
CMYKcmyk(0%, 55.3%, 25%, 70.2%)
CIE-LABlab(19.95, 23.09, -5.70)
CIE-LCHlch(19.95, 23.78, 346.14°)
OKLaboklab(31.91% 0.0692 -0.0149)
OKLCHoklch(31.91% 0.071 347.8)
XYZxyz(4.2912, 2.9763, 4.2186)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2239 #224C35
analogous
#4A224C #4C2239 #4C2224
triadic
#4C2239 #394C22 #22394C
tetradic
#4C2239 #4C4A22 #224C35 #22244C
square
#4C2239 #4C4A22 #224C35 #22244C
split-complementary
#4C2239 #244C22 #224C4A
monochromatic
#150910 #220F19 #4C2239 #763559 #A14878

Accessibility & contrast

On white

13.16
#4C2239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4C2239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2239
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2239#FFFFFF#000000##FFFFFF
##4C22391.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262C3A
Deuteranopia (green-blind)
#313338
Tritanopia (blue-blind)
#51212B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4c2239;
/* rgb */ color: rgb(76, 34, 57);
/* oklch */ color: oklch(31.9% 0.071 347.8);
Tailwind
colors: {
  custom: {
    50: '#7f5f6f',
    500: '#4c2239',
    950: '#000000',
  },
}
SCSS
$custom: #4c2239;
$custom-light: #7f5f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2239",
  "rgb": {
    "r": 76,
    "g": 34,
    "b": 57
  },
  "hsl": {
    "h": 327.143,
    "s": 38.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31913,
    "c": 0.07083,
    "h": 347.8
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#4C2239
secondary
#4A8062
accent
#CE8E5A
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#0A0407
muted
#7C797A

Preview Lab

Preview with #4C2239

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

Preview Lab → · Contrast checker → · Palette generator →

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