#C5339B#C5339B

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

Color values

HEX#C5339B
RGBrgb(197, 51, 155)
HSLhsl(317, 59%, 49%)
HSVhsv(317, 74%, 77%)
CMYKcmyk(0%, 74.1%, 21.3%, 22.7%)
CIE-LABlab(47.76, 66.08, -23.90)
CIE-LCHlch(47.76, 70.27, 340.12°)
OKLaboklab(57.73% 0.1985 -0.0642)
OKLCHoklch(57.73% 0.209 342.1)
XYZxyz(30.1272, 16.6076, 32.6230)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5339B #33C55D
analogous
#A633C5 #C5339B #C53352
triadic
#C5339B #9BC533 #339BC5
tetradic
#C5339B #C5A633 #33C55D #3352C5
square
#C5339B #C5A633 #33C55D #3352C5
split-complementary
#C5339B #52C533 #33C5A6
monochromatic
#641A4E #942675 #C5339B #D65FB4 #E290CB

Accessibility & contrast

On white

4.86
#C5339B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#C5339B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5339B
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5339B#FFFFFF#000000##FFFFFF
##C5339B1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41629E
Deuteranopia (green-blind)
#6F7A98
Tritanopia (blue-blind)
#D13563
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c5339b;
/* rgb */ color: rgb(197, 51, 155);
/* oklch */ color: oklch(57.7% 0.209 342.1);
Tailwind
colors: {
  custom: {
    50: '#db79b8',
    500: '#c5339b',
    950: '#000000',
  },
}
SCSS
$custom: #c5339b;
$custom-light: #db79b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c5339b",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 317.26,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57732,
    "c": 0.20859,
    "h": 342.1
  },
  "luminance": 0.16605
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5339B

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

Preview Lab → · Contrast checker → · Palette generator →

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