#CD508C#CD508C

#CD508C is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.3% C 0.169 H 353.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CD508C
RGBrgb(205, 80, 140)
HSLhsl(331, 56%, 56%)
HSVhsv(331, 61%, 80%)
CMYKcmyk(0%, 61%, 31.7%, 19.6%)
CIE-LABlab(52.52, 55.28, -7.60)
CIE-LCHlch(52.52, 55.80, 352.18°)
OKLaboklab(61.29% 0.1683 -0.0194)
OKLCHoklch(61.29% 0.169 353.4)
XYZxyz(32.7807, 20.6133, 27.0583)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD508C #50CD91
analogous
#CD50CB #CD508C #CD5250
triadic
#CD508C #8CCD50 #508CCD
tetradic
#CD508C #CBCD50 #50CD91 #5250CD
square
#CD508C #CBCD50 #50CD91 #5250CD
split-complementary
#CD508C #50CD52 #50CBCD
monochromatic
#7E244F #AE326D #CD508C #DB80AB #E8AFCB

Accessibility & contrast

On white

4.10
#CD508C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CD508C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD508C
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD508C#FFFFFF#000000##000000
##CD508C1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#636F8E
Deuteranopia (green-blind)
#858689
Tritanopia (blue-blind)
#DC4868
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd508c;
/* rgb */ color: rgb(205, 80, 140);
/* oklch */ color: oklch(61.3% 0.169 353.4);
Tailwind
colors: {
  custom: {
    50: '#e087ad',
    500: '#cd508c',
    950: '#000000',
  },
}
SCSS
$custom: #cd508c;
$custom-light: #e087ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cd508c",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 140
  },
  "hsl": {
    "h": 331.2,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61293,
    "c": 0.16944,
    "h": 353.4
  },
  "luminance": 0.2061
}

Semantic roles & 50–950 ramp

primary
#CD508C
secondary
#A2D6BD
accent
#DF9749
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD508C

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

Preview Lab → · Contrast checker → · Palette generator →

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