#CD507D#CD507D

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

Color values

HEX#CD507D
RGBrgb(205, 80, 125)
HSLhsl(338, 56%, 56%)
HSVhsv(338, 61%, 80%)
CMYKcmyk(0%, 61%, 39%, 19.6%)
CIE-LABlab(52.06, 53.55, 0.66)
CIE-LCHlch(52.06, 53.55, 0.71°)
OKLaboklab(60.8% 0.1635 0.0024)
OKLCHoklch(60.8% 0.164 0.8)
XYZxyz(31.7491, 20.2007, 21.6252)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD507D #50CDA0
analogous
#CD50BB #CD507D #CD6150
triadic
#CD507D #7DCD50 #507DCD
tetradic
#CD507D #BBCD50 #50CDA0 #6150CD
square
#CD507D #BBCD50 #50CDA0 #6150CD
split-complementary
#CD507D #50CD61 #50BBCD
monochromatic
#7E2445 #AE325E #CD507D #DB80A0 #E8AFC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD507D#FFFFFF#000000##000000
##CD507D1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#676D7E
Deuteranopia (green-blind)
#88857A
Tritanopia (blue-blind)
#DD4461
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd507d;
/* rgb */ color: rgb(205, 80, 125);
/* oklch */ color: oklch(60.8% 0.164 0.8);
Tailwind
colors: {
  custom: {
    50: '#e087a2',
    500: '#cd507d',
    950: '#000000',
  },
}
SCSS
$custom: #cd507d;
$custom-light: #e087a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd507d",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 125
  },
  "hsl": {
    "h": 338.4,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.608,
    "c": 0.1635,
    "h": 0.8
  },
  "luminance": 0.20197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD507D

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

Preview Lab → · Contrast checker → · Palette generator →

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