#C5339A#C5339A

#C5339A is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 57.7% C 0.208 H 342.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C5339A
RGBrgb(197, 51, 154)
HSLhsl(318, 59%, 49%)
HSVhsv(318, 74%, 77%)
CMYKcmyk(0%, 74.1%, 21.8%, 22.7%)
CIE-LABlab(47.72, 65.95, -23.36)
CIE-LCHlch(47.72, 69.96, 340.49°)
OKLaboklab(57.69% 0.1983 -0.0627)
OKLCHoklch(57.69% 0.208 342.5)
XYZxyz(30.0436, 16.5742, 32.1825)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5339A #33C55E
analogous
#A733C5 #C5339A #C53351
triadic
#C5339A #9AC533 #339AC5
tetradic
#C5339A #C5A733 #33C55E #3351C5
square
#C5339A #C5A733 #33C55E #3351C5
split-complementary
#C5339A #51C533 #33C5A7
monochromatic
#641A4E #942674 #C5339A #D65FB3 #E290CA

Accessibility & contrast

On white

4.87
#C5339A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C5339A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5339A
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5339A#FFFFFF#000000##FFFFFF
##C5339A1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42629D
Deuteranopia (green-blind)
#6F7A97
Tritanopia (blue-blind)
#D13463
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c5339a;
/* rgb */ color: rgb(197, 51, 154);
/* oklch */ color: oklch(57.7% 0.208 342.5);
Tailwind
colors: {
  custom: {
    50: '#db79b8',
    500: '#c5339a',
    950: '#000000',
  },
}
SCSS
$custom: #c5339a;
$custom-light: #db79b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c5339a",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 317.671,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57687,
    "c": 0.20798,
    "h": 342.5
  },
  "luminance": 0.16571
}

Semantic roles & 50–950 ramp

primary
#C5339A
secondary
#87CD9B
accent
#E27446
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#150A11
muted
#847C80

Preview Lab

Preview with #C5339A

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

Preview Lab → · Contrast checker → · Palette generator →

#C5339A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva