#CD507B#CD507B

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

Color values

HEX#CD507B
RGBrgb(205, 80, 123)
HSLhsl(339, 56%, 56%)
HSVhsv(339, 61%, 80%)
CMYKcmyk(0%, 61%, 40%, 19.6%)
CIE-LABlab(52.01, 53.33, 1.77)
CIE-LCHlch(52.01, 53.36, 1.91°)
OKLaboklab(60.74% 0.1628 0.0052)
OKLCHoklch(60.74% 0.163 1.8)
XYZxyz(31.6227, 20.1501, 20.9591)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD507B #50CDA2
analogous
#CD50B9 #CD507B #CD6350
triadic
#CD507B #7BCD50 #507BCD
tetradic
#CD507B #B9CD50 #50CDA2 #6350CD
square
#CD507B #B9CD50 #50CDA2 #6350CD
split-complementary
#CD507B #50CD63 #50B9CD
monochromatic
#7E2443 #AE325D #CD507B #DB809F #E8AFC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD507B#FFFFFF#000000##000000
##CD507B1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd507b;
/* rgb */ color: rgb(205, 80, 123);
/* oklch */ color: oklch(60.7% 0.163 1.8);
Tailwind
colors: {
  custom: {
    50: '#e187a1',
    500: '#cd507b',
    950: '#000000',
  },
}
SCSS
$custom: #cd507b;
$custom-light: #e187a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd507b",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 123
  },
  "hsl": {
    "h": 339.36,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60739,
    "c": 0.16287,
    "h": 1.8
  },
  "luminance": 0.20147
}

Semantic roles & 50–950 ramp

primary
#CD507B
secondary
#A2D6C4
accent
#DFAB49
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD507B

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

Preview Lab → · Contrast checker → · Palette generator →

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