#C5339D#C5339D

#C5339D is a mid, highly saturated pink. Relative luminance 0.167; OKLCH L 57.8% C 0.210 H 341.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#C5339D
RGBrgb(197, 51, 157)
HSLhsl(316, 59%, 49%)
HSVhsv(316, 74%, 77%)
CMYKcmyk(0%, 74.1%, 20.3%, 22.7%)
CIE-LABlab(47.85, 66.34, -24.95)
CIE-LCHlch(47.85, 70.88, 339.39°)
OKLaboklab(57.82% 0.1988 -0.0671)
OKLCHoklch(57.82% 0.21 341.3)
XYZxyz(30.2966, 16.6754, 33.5149)
Luminance0.1667 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5339D #33C55B
analogous
#A433C5 #C5339D #C53354
triadic
#C5339D #9DC533 #339DC5
tetradic
#C5339D #C5A433 #33C55B #3354C5
square
#C5339D #C5A433 #33C55B #3354C5
split-complementary
#C5339D #54C533 #33C5A4
monochromatic
#641A50 #942676 #C5339D #D65FB5 #E290CC

Accessibility & contrast

On white

4.84
#C5339D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C5339D
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5339D#FFFFFF#000000##FFFFFF
##C5339D1.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4062A0
Deuteranopia (green-blind)
#6E7A9A
Tritanopia (blue-blind)
#D13664
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c5339d;
/* rgb */ color: rgb(197, 51, 157);
/* oklch */ color: oklch(57.8% 0.210 341.3);
Tailwind
colors: {
  custom: {
    50: '#db79ba',
    500: '#c5339d',
    950: '#000000',
  },
}
SCSS
$custom: #c5339d;
$custom-light: #db79ba;
$custom-dark: #000000;
JSON
{
  "hex": "#c5339d",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 316.438,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57823,
    "c": 0.20983,
    "h": 341.3
  },
  "luminance": 0.16672
}

Semantic roles & 50–950 ramp

primary
#C5339D
secondary
#87CD9A
accent
#E27146
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#150A11
muted
#847C80

Preview Lab

Preview with #C5339D

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

Preview Lab → · Contrast checker → · Palette generator →

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