#C5339F#C5339F

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

Color values

HEX#C5339F
RGBrgb(197, 51, 159)
HSLhsl(316, 59%, 49%)
HSVhsv(316, 74%, 77%)
CMYKcmyk(0%, 74.1%, 19.3%, 22.7%)
CIE-LABlab(47.94, 66.61, -26.01)
CIE-LCHlch(47.94, 71.51, 338.67°)
OKLaboklab(57.92% 0.1991 -0.0701)
OKLCHoklch(57.92% 0.211 340.6)
XYZxyz(30.4687, 16.7442, 34.4215)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5339F #33C559
analogous
#A233C5 #C5339F #C53356
triadic
#C5339F #9FC533 #339FC5
tetradic
#C5339F #C5A233 #33C559 #3356C5
square
#C5339F #C5A233 #33C559 #3356C5
split-complementary
#C5339F #56C533 #33C5A2
monochromatic
#641A51 #942678 #C5339F #D65FB7 #E290CD

Accessibility & contrast

On white

4.83
#C5339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#C5339F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5339F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5339F#FFFFFF#000000##FFFFFF
##C5339F1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E63A2
Deuteranopia (green-blind)
#6E7A9C
Tritanopia (blue-blind)
#D13765
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c5339f;
/* rgb */ color: rgb(197, 51, 159);
/* oklch */ color: oklch(57.9% 0.211 340.6);
Tailwind
colors: {
  custom: {
    50: '#db79bb',
    500: '#c5339f',
    950: '#000000',
  },
}
SCSS
$custom: #c5339f;
$custom-light: #db79bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c5339f",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 315.616,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57915,
    "c": 0.21108,
    "h": 340.6
  },
  "luminance": 0.16741
}

Semantic roles & 50–950 ramp

primary
#C5339F
secondary
#87CD99
accent
#E26E46
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C5339F

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

Preview Lab → · Contrast checker → · Palette generator →

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