#C5339C#C5339C

#C5339C is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 57.8% C 0.209 H 341.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C5339C
RGBrgb(197, 51, 156)
HSLhsl(317, 59%, 49%)
HSVhsv(317, 74%, 77%)
CMYKcmyk(0%, 74.1%, 20.8%, 22.7%)
CIE-LABlab(47.80, 66.21, -24.43)
CIE-LCHlch(47.80, 70.57, 339.75°)
OKLaboklab(57.78% 0.1986 -0.0656)
OKLCHoklch(57.78% 0.209 341.7)
XYZxyz(30.2115, 16.6414, 33.0671)
Luminance0.1664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5339C #33C55C
analogous
#A533C5 #C5339C #C53353
triadic
#C5339C #9CC533 #339CC5
tetradic
#C5339C #C5A533 #33C55C #3353C5
square
#C5339C #C5A533 #33C55C #3353C5
split-complementary
#C5339C #53C533 #33C5A5
monochromatic
#641A4F #942676 #C5339C #D65FB5 #E290CB

Accessibility & contrast

On white

4.85
#C5339C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#C5339C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5339C
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5339C#FFFFFF#000000##FFFFFF
##C5339C1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40629F
Deuteranopia (green-blind)
#6F7A99
Tritanopia (blue-blind)
#D13564
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c5339c;
/* rgb */ color: rgb(197, 51, 156);
/* oklch */ color: oklch(57.8% 0.209 341.7);
Tailwind
colors: {
  custom: {
    50: '#db79b9',
    500: '#c5339c',
    950: '#000000',
  },
}
SCSS
$custom: #c5339c;
$custom-light: #db79b9;
$custom-dark: #000000;
JSON
{
  "hex": "#c5339c",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 316.849,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57777,
    "c": 0.20921,
    "h": 341.7
  },
  "luminance": 0.16638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5339C

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

Preview Lab → · Contrast checker → · Palette generator →

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