#CD509F#CD509F

#CD509F is a light, vivid pink. Relative luminance 0.212; OKLCH L 62.0% C 0.180 H 344.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#CD509F
RGBrgb(205, 80, 159)
HSLhsl(322, 56%, 56%)
HSVhsv(322, 61%, 80%)
CMYKcmyk(0%, 61%, 22.4%, 19.6%)
CIE-LABlab(53.19, 57.75, -17.82)
CIE-LCHlch(53.19, 60.43, 342.86°)
OKLaboklab(62.01% 0.1735 -0.0473)
OKLCHoklch(62.01% 0.18 344.7)
XYZxyz(34.3046, 21.2229, 35.0839)
Luminance0.2122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD509F #50CD7E
analogous
#BC50CD #CD509F #CD5060
triadic
#CD509F #9FCD50 #509FCD
tetradic
#CD509F #CDBC50 #50CD7E #5060CD
square
#CD509F #CDBC50 #50CD7E #5060CD
split-complementary
#CD509F #60CD50 #50CDBC
monochromatic
#7E245D #AE3280 #CD509F #DB80B9 #E8AFD3

Accessibility & contrast

On white

4.00
#CD509F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#CD509F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD509F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD509F#FFFFFF#000000##000000
##CD509F1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C72A1
Deuteranopia (green-blind)
#80879C
Tritanopia (blue-blind)
#DA4F71
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd509f;
/* rgb */ color: rgb(205, 80, 159);
/* oklch */ color: oklch(62.0% 0.180 344.7);
Tailwind
colors: {
  custom: {
    50: '#e088bb',
    500: '#cd509f',
    950: '#000000',
  },
}
SCSS
$custom: #cd509f;
$custom-light: #e088bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd509f",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 159
  },
  "hsl": {
    "h": 322.08,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62007,
    "c": 0.1798,
    "h": 344.7
  },
  "luminance": 0.2122
}

Semantic roles & 50–950 ramp

primary
#CD509F
secondary
#A2D6B6
accent
#DF8049
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD509F

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

Preview Lab → · Contrast checker → · Palette generator →

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