#CD508D#CD508D

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

Color values

HEX#CD508D
RGBrgb(205, 80, 141)
HSLhsl(331, 56%, 56%)
HSVhsv(331, 61%, 80%)
CMYKcmyk(0%, 61%, 31.2%, 19.6%)
CIE-LABlab(52.56, 55.40, -8.14)
CIE-LCHlch(52.56, 56.00, 351.64°)
OKLaboklab(61.33% 0.1686 -0.0209)
OKLCHoklch(61.33% 0.17 352.9)
XYZxyz(32.8548, 20.6429, 27.4484)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD508D #50CD90
analogous
#CD50CC #CD508D #CD5150
triadic
#CD508D #8DCD50 #508DCD
tetradic
#CD508D #CCCD50 #50CD90 #5150CD
square
#CD508D #CCCD50 #50CD90 #5150CD
split-complementary
#CD508D #50CD51 #50CCCD
monochromatic
#7E2450 #AE326E #CD508D #DB80AC #E8AFCB

Accessibility & contrast

On white

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

On black

5.13
#CD508D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD508D
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD508D#FFFFFF#000000##000000
##CD508D1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#626F8F
Deuteranopia (green-blind)
#84868A
Tritanopia (blue-blind)
#DC4968
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd508d;
/* rgb */ color: rgb(205, 80, 141);
/* oklch */ color: oklch(61.3% 0.170 352.9);
Tailwind
colors: {
  custom: {
    50: '#e087ae',
    500: '#cd508d',
    950: '#000000',
  },
}
SCSS
$custom: #cd508d;
$custom-light: #e087ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cd508d",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 330.72,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61328,
    "c": 0.16992,
    "h": 352.9
  },
  "luminance": 0.2064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD508D

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

Preview Lab → · Contrast checker → · Palette generator →

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