#CD507E#CD507E

#CD507E is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.8% C 0.164 H 0.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CD507E
RGBrgb(205, 80, 126)
HSLhsl(338, 56%, 56%)
HSVhsv(338, 61%, 80%)
CMYKcmyk(0%, 61%, 38.5%, 19.6%)
CIE-LABlab(52.09, 53.66, 0.11)
CIE-LCHlch(52.09, 53.66, 0.11°)
OKLaboklab(60.83% 0.1638 0.0009)
OKLCHoklch(60.83% 0.164 0.3)
XYZxyz(31.8133, 20.2264, 21.9633)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD507E #50CD9F
analogous
#CD50BC #CD507E #CD6050
triadic
#CD507E #7ECD50 #507ECD
tetradic
#CD507E #BCCD50 #50CD9F #6050CD
square
#CD507E #BCCD50 #50CD9F #6050CD
split-complementary
#CD507E #50CD60 #50BCCD
monochromatic
#7E2445 #AE325F #CD507E #DB80A1 #E8AFC4

Accessibility & contrast

On white

4.16
#CD507E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CD507E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD507E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD507E#FFFFFF#000000##000000
##CD507E1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#676D7F
Deuteranopia (green-blind)
#88857B
Tritanopia (blue-blind)
#DD4462
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd507e;
/* rgb */ color: rgb(205, 80, 126);
/* oklch */ color: oklch(60.8% 0.164 0.3);
Tailwind
colors: {
  custom: {
    50: '#e087a3',
    500: '#cd507e',
    950: '#000000',
  },
}
SCSS
$custom: #cd507e;
$custom-light: #e087a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd507e",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 126
  },
  "hsl": {
    "h": 337.92,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60831,
    "c": 0.16382,
    "h": 0.3
  },
  "luminance": 0.20223
}

Semantic roles & 50–950 ramp

primary
#CD507E
secondary
#A2D6C3
accent
#DFA849
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD507E

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

Preview Lab → · Contrast checker → · Palette generator →

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