#CD507C#CD507C

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

Color values

HEX#CD507C
RGBrgb(205, 80, 124)
HSLhsl(339, 56%, 56%)
HSVhsv(339, 61%, 80%)
CMYKcmyk(0%, 61%, 39.5%, 19.6%)
CIE-LABlab(52.03, 53.44, 1.22)
CIE-LCHlch(52.03, 53.45, 1.31°)
OKLaboklab(60.77% 0.1631 0.0038)
OKLCHoklch(60.77% 0.163 1.3)
XYZxyz(31.6856, 20.1753, 21.2905)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD507C #50CDA1
analogous
#CD50BA #CD507C #CD6250
triadic
#CD507C #7CCD50 #507CCD
tetradic
#CD507C #BACD50 #50CDA1 #6250CD
square
#CD507C #BACD50 #50CDA1 #6250CD
split-complementary
#CD507C #50CD62 #50BACD
monochromatic
#7E2444 #AE325D #CD507C #DB80A0 #E8AFC3

Accessibility & contrast

On white

4.17
#CD507C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CD507C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD507C
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD507C#FFFFFF#000000##000000
##CD507C1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#676D7D
Deuteranopia (green-blind)
#888579
Tritanopia (blue-blind)
#DD4361
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd507c;
/* rgb */ color: rgb(205, 80, 124);
/* oklch */ color: oklch(60.8% 0.163 1.3);
Tailwind
colors: {
  custom: {
    50: '#e187a1',
    500: '#cd507c',
    950: '#000000',
  },
}
SCSS
$custom: #cd507c;
$custom-light: #e187a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd507c",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 124
  },
  "hsl": {
    "h": 338.88,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60769,
    "c": 0.16317,
    "h": 1.3
  },
  "luminance": 0.20172
}

Semantic roles & 50–950 ramp

primary
#CD507C
secondary
#A2D6C4
accent
#DFAA49
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CD507C

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

Preview Lab → · Contrast checker → · Palette generator →

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