#CD509E#CD509E

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

Color values

HEX#CD509E
RGBrgb(205, 80, 158)
HSLhsl(323, 56%, 56%)
HSVhsv(323, 61%, 80%)
CMYKcmyk(0%, 61%, 22.9%, 19.6%)
CIE-LABlab(53.16, 57.61, -17.29)
CIE-LCHlch(53.16, 60.15, 343.30°)
OKLaboklab(61.97% 0.1732 -0.0458)
OKLCHoklch(61.97% 0.179 345.2)
XYZxyz(34.2182, 21.1883, 34.6288)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD509E #50CD7F
analogous
#BD50CD #CD509E #CD505F
triadic
#CD509E #9ECD50 #509ECD
tetradic
#CD509E #CDBD50 #50CD7F #505FCD
square
#CD509E #CDBD50 #50CD7F #505FCD
split-complementary
#CD509E #5FCD50 #50CDBD
monochromatic
#7E245D #AE327F #CD509E #DB80B8 #E8AFD3

Accessibility & contrast

On white

4.01
#CD509E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD509E#FFFFFF#000000##000000
##CD509E1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C72A0
Deuteranopia (green-blind)
#80879B
Tritanopia (blue-blind)
#DA4F70
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd509e;
/* rgb */ color: rgb(205, 80, 158);
/* oklch */ color: oklch(62.0% 0.179 345.2);
Tailwind
colors: {
  custom: {
    50: '#e088ba',
    500: '#cd509e',
    950: '#000000',
  },
}
SCSS
$custom: #cd509e;
$custom-light: #e088ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cd509e",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 158
  },
  "hsl": {
    "h": 322.56,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61967,
    "c": 0.17919,
    "h": 345.2
  },
  "luminance": 0.21185
}

Semantic roles & 50–950 ramp

primary
#CD509E
secondary
#A2D6B6
accent
#DF8149
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD509E

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

Preview Lab → · Contrast checker → · Palette generator →

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