#4C2139#4C2139

#4C2139 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.7% C 0.073 H 347.4°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#4C2139
RGBrgb(76, 33, 57)
HSLhsl(327, 39%, 21%)
HSVhsv(327, 57%, 30%)
CMYKcmyk(0%, 56.6%, 25%, 70.2%)
CIE-LABlab(19.72, 23.68, -6.04)
CIE-LCHlch(19.72, 24.44, 345.70°)
OKLaboklab(31.74% 0.071 -0.0158)
OKLCHoklch(31.74% 0.073 347.4)
XYZxyz(4.2630, 2.9200, 4.2092)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2139 #214C34
analogous
#4A214C #4C2139 #4C2124
triadic
#4C2139 #394C21 #21394C
tetradic
#4C2139 #4C4A21 #214C34 #21244C
square
#4C2139 #4C4A21 #214C34 #21244C
split-complementary
#4C2139 #244C21 #214C4A
monochromatic
#150910 #210E19 #4C2139 #773459 #A14679

Accessibility & contrast

On white

13.26
#4C2139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4C2139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2139
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2139#FFFFFF#000000##FFFFFF
##4C21391.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B3A
Deuteranopia (green-blind)
#313238
Tritanopia (blue-blind)
#51202A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4c2139;
/* rgb */ color: rgb(76, 33, 57);
/* oklch */ color: oklch(31.7% 0.073 347.4);
Tailwind
colors: {
  custom: {
    50: '#805e6f',
    500: '#4c2139',
    950: '#000000',
  },
}
SCSS
$custom: #4c2139;
$custom-light: #805e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2139",
  "rgb": {
    "r": 76,
    "g": 33,
    "b": 57
  },
  "hsl": {
    "h": 326.512,
    "s": 39.45,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31742,
    "c": 0.07277,
    "h": 347.4
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#4C2139
secondary
#498061
accent
#CF8D58
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#0A0407
muted
#7C797A

Preview Lab

Preview with #4C2139

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

Preview Lab → · Contrast checker → · Palette generator →

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