#C5339E#C5339E

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

Color values

HEX#C5339E
RGBrgb(197, 51, 158)
HSLhsl(316, 59%, 49%)
HSVhsv(316, 74%, 77%)
CMYKcmyk(0%, 74.1%, 19.8%, 22.7%)
CIE-LABlab(47.89, 66.48, -25.48)
CIE-LCHlch(47.89, 71.19, 339.03°)
OKLaboklab(57.87% 0.1989 -0.0686)
OKLCHoklch(57.87% 0.21 341)
XYZxyz(30.3823, 16.7096, 33.9663)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5339E #33C55A
analogous
#A333C5 #C5339E #C53355
triadic
#C5339E #9EC533 #339EC5
tetradic
#C5339E #C5A333 #33C55A #3355C5
square
#C5339E #C5A333 #33C55A #3355C5
split-complementary
#C5339E #55C533 #33C5A3
monochromatic
#641A50 #942677 #C5339E #D65FB6 #E290CC

Accessibility & contrast

On white

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

On black

4.34
#C5339E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C5339E#FFFFFF#000000##FFFFFF
##C5339E1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F63A1
Deuteranopia (green-blind)
#6E7A9B
Tritanopia (blue-blind)
#D13665
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c5339e;
/* rgb */ color: rgb(197, 51, 158);
/* oklch */ color: oklch(57.9% 0.210 341.0);
Tailwind
colors: {
  custom: {
    50: '#db79bb',
    500: '#c5339e',
    950: '#000000',
  },
}
SCSS
$custom: #c5339e;
$custom-light: #db79bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c5339e",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 316.027,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57869,
    "c": 0.21045,
    "h": 341
  },
  "luminance": 0.16707
}

Semantic roles & 50–950 ramp

primary
#C5339E
secondary
#87CD9A
accent
#E26F46
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C5339E

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

Preview Lab → · Contrast checker → · Palette generator →

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