#CD339F#CD339F

#CD339F is a mid, highly saturated pink. Relative luminance 0.178; OKLCH L 59.2% C 0.216 H 342.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CD339F
RGBrgb(205, 51, 159)
HSLhsl(318, 61%, 50%)
HSVhsv(318, 75%, 80%)
CMYKcmyk(0%, 75.1%, 22.4%, 19.6%)
CIE-LABlab(49.32, 68.52, -23.76)
CIE-LCHlch(49.32, 72.53, 340.88°)
OKLaboklab(59.17% 0.2064 -0.0637)
OKLCHoklch(59.17% 0.216 342.9)
XYZxyz(32.6199, 17.8534, 34.5223)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD339F #33CD61
analogous
#AE33CD #CD339F #CD3352
triadic
#CD339F #9FCD33 #339FCD
tetradic
#CD339F #CDAE33 #33CD61 #3352CD
square
#CD339F #CDAE33 #33CD61 #3352CD
split-complementary
#CD339F #52CD33 #33CDAE
monochromatic
#6B1A53 #9C2679 #CD339F #D964B6 #E595CD

Accessibility & contrast

On white

4.60
#CD339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#CD339F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CD339F
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD339F#FFFFFF#000000##FFFFFF
##CD339F1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4365A2
Deuteranopia (green-blind)
#747E9C
Tritanopia (blue-blind)
#DA3465
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cd339f;
/* rgb */ color: rgb(205, 51, 159);
/* oklch */ color: oklch(59.2% 0.216 342.9);
Tailwind
colors: {
  custom: {
    50: '#e17abb',
    500: '#cd339f',
    950: '#000000',
  },
}
SCSS
$custom: #cd339f;
$custom-light: #e17abb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd339f",
  "rgb": {
    "r": 205,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 317.922,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59174,
    "c": 0.21602,
    "h": 342.9
  },
  "luminance": 0.1785
}

Semantic roles & 50–950 ramp

primary
#CD339F
secondary
#8BD0A0
accent
#E47444
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CD339F

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

Preview Lab → · Contrast checker → · Palette generator →

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