#CD509C#CD509C

#CD509C is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.9% C 0.178 H 346.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CD509C
RGBrgb(205, 80, 156)
HSLhsl(324, 56%, 56%)
HSVhsv(324, 61%, 80%)
CMYKcmyk(0%, 61%, 23.9%, 19.6%)
CIE-LABlab(53.08, 57.34, -16.22)
CIE-LCHlch(53.08, 59.59, 344.20°)
OKLaboklab(61.89% 0.1727 -0.0429)
OKLCHoklch(61.89% 0.178 346.1)
XYZxyz(34.0474, 21.1200, 33.7295)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD509C #50CD81
analogous
#BF50CD #CD509C #CD505D
triadic
#CD509C #9CCD50 #509CCD
tetradic
#CD509C #CDBF50 #50CD81 #505DCD
square
#CD509C #CDBF50 #50CD81 #505DCD
split-complementary
#CD509C #5DCD50 #50CDBF
monochromatic
#7E245B #AE327D #CD509C #DB80B7 #E8AFD2

Accessibility & contrast

On white

4.02
#CD509C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CD509C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD509C
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD509C#FFFFFF#000000##000000
##CD509C1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D719E
Deuteranopia (green-blind)
#808799
Tritanopia (blue-blind)
#DA4E6F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd509c;
/* rgb */ color: rgb(205, 80, 156);
/* oklch */ color: oklch(61.9% 0.178 346.1);
Tailwind
colors: {
  custom: {
    50: '#e088b9',
    500: '#cd509c',
    950: '#000000',
  },
}
SCSS
$custom: #cd509c;
$custom-light: #e088b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd509c",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 156
  },
  "hsl": {
    "h": 323.52,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61888,
    "c": 0.17798,
    "h": 346.1
  },
  "luminance": 0.21117
}

Semantic roles & 50–950 ramp

primary
#CD509C
secondary
#A2D6B7
accent
#DF8449
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD509C

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

Preview Lab → · Contrast checker → · Palette generator →

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