#CD507A#CD507A

#CD507A is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.7% C 0.163 H 2.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CD507A
RGBrgb(205, 80, 122)
HSLhsl(340, 56%, 56%)
HSVhsv(340, 61%, 80%)
CMYKcmyk(0%, 61%, 40.5%, 19.6%)
CIE-LABlab(51.98, 53.22, 2.33)
CIE-LCHlch(51.98, 53.28, 2.51°)
OKLaboklab(60.71% 0.1624 0.0067)
OKLCHoklch(60.71% 0.163 2.4)
XYZxyz(31.5604, 20.1252, 20.6311)
Luminance0.2012 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD507A #50CDA3
analogous
#CD50B8 #CD507A #CD6450
triadic
#CD507A #7ACD50 #507ACD
tetradic
#CD507A #B8CD50 #50CDA3 #6450CD
square
#CD507A #B8CD50 #50CDA3 #6450CD
split-complementary
#CD507A #50CD64 #50B8CD
monochromatic
#7E2442 #AE325C #CD507A #DB809E #E8AFC2

Accessibility & contrast

On white

4.18
#CD507A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CD507A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD507A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD507A#FFFFFF#000000##000000
##CD507A1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#686D7B
Deuteranopia (green-blind)
#898577
Tritanopia (blue-blind)
#DD4360
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd507a;
/* rgb */ color: rgb(205, 80, 122);
/* oklch */ color: oklch(60.7% 0.163 2.4);
Tailwind
colors: {
  custom: {
    50: '#e187a0',
    500: '#cd507a',
    950: '#000000',
  },
}
SCSS
$custom: #cd507a;
$custom-light: #e187a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd507a",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 339.84,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60709,
    "c": 0.16258,
    "h": 2.4
  },
  "luminance": 0.20122
}

Semantic roles & 50–950 ramp

primary
#CD507A
secondary
#A2D6C5
accent
#DFAC49
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD507A

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

Preview Lab → · Contrast checker → · Palette generator →

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