#CD508E#CD508E

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

Color values

HEX#CD508E
RGBrgb(205, 80, 142)
HSLhsl(330, 56%, 56%)
HSVhsv(330, 61%, 80%)
CMYKcmyk(0%, 61%, 30.7%, 19.6%)
CIE-LABlab(52.59, 55.53, -8.69)
CIE-LCHlch(52.59, 56.20, 351.11°)
OKLaboklab(61.36% 0.1689 -0.0223)
OKLCHoklch(61.36% 0.17 352.5)
XYZxyz(32.9295, 20.6728, 27.8420)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD508E #50CD8F
analogous
#CD50CD #CD508E #CD5050
triadic
#CD508E #8ECD50 #508ECD
tetradic
#CD508E #CDCD50 #50CD8F #5050CD
square
#CD508E #CDCD50 #50CD8F #5050CD
split-complementary
#CD508E #50CD50 #50CDCD
monochromatic
#7E2451 #AE326F #CD508E #DB80AD #E8AFCB

Accessibility & contrast

On white

4.09
#CD508E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD508E#FFFFFF#000000##000000
##CD508E1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#626F90
Deuteranopia (green-blind)
#84868B
Tritanopia (blue-blind)
#DB4969
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd508e;
/* rgb */ color: rgb(205, 80, 142);
/* oklch */ color: oklch(61.4% 0.170 352.5);
Tailwind
colors: {
  custom: {
    50: '#e087af',
    500: '#cd508e',
    950: '#000000',
  },
}
SCSS
$custom: #cd508e;
$custom-light: #e087af;
$custom-dark: #000000;
JSON
{
  "hex": "#cd508e",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 330.24,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61364,
    "c": 0.1704,
    "h": 352.5
  },
  "luminance": 0.20669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD508E

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

Preview Lab → · Contrast checker → · Palette generator →

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