#CD508B#CD508B

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

Color values

HEX#CD508B
RGBrgb(205, 80, 139)
HSLhsl(332, 56%, 56%)
HSVhsv(332, 61%, 80%)
CMYKcmyk(0%, 61%, 32.2%, 19.6%)
CIE-LABlab(52.49, 55.16, -7.05)
CIE-LCHlch(52.49, 55.61, 352.72°)
OKLaboklab(61.26% 0.168 -0.0179)
OKLCHoklch(61.26% 0.169 353.9)
XYZxyz(32.7073, 20.5840, 26.6717)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD508B #50CD92
analogous
#CD50CA #CD508B #CD5350
triadic
#CD508B #8BCD50 #508BCD
tetradic
#CD508B #CACD50 #50CD92 #5350CD
square
#CD508B #CACD50 #50CD92 #5350CD
split-complementary
#CD508B #50CD53 #50CACD
monochromatic
#7E244F #AE326C #CD508B #DB80AB #E8AFCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD508B#FFFFFF#000000##000000
##CD508B1.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)
#636F8D
Deuteranopia (green-blind)
#858688
Tritanopia (blue-blind)
#DC4867
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd508b;
/* rgb */ color: rgb(205, 80, 139);
/* oklch */ color: oklch(61.3% 0.169 353.9);
Tailwind
colors: {
  custom: {
    50: '#e087ac',
    500: '#cd508b',
    950: '#000000',
  },
}
SCSS
$custom: #cd508b;
$custom-light: #e087ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd508b",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 139
  },
  "hsl": {
    "h": 331.68,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61258,
    "c": 0.16898,
    "h": 353.9
  },
  "luminance": 0.20581
}

Semantic roles & 50–950 ramp

primary
#CD508B
secondary
#A2D6BE
accent
#DF9849
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD508B

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

Preview Lab → · Contrast checker → · Palette generator →

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