#CD507F#CD507F

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

Color values

HEX#CD507F
RGBrgb(205, 80, 127)
HSLhsl(337, 56%, 56%)
HSVhsv(337, 61%, 80%)
CMYKcmyk(0%, 61%, 38%, 19.6%)
CIE-LABlab(52.12, 53.77, -0.45)
CIE-LCHlch(52.12, 53.77, 359.52°)
OKLaboklab(60.86% 0.1642 -0.0005)
OKLCHoklch(60.86% 0.164 359.8)
XYZxyz(31.8782, 20.2523, 22.3049)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD507F #50CD9E
analogous
#CD50BD #CD507F #CD5F50
triadic
#CD507F #7FCD50 #507FCD
tetradic
#CD507F #BDCD50 #50CD9E #5F50CD
square
#CD507F #BDCD50 #50CD9E #5F50CD
split-complementary
#CD507F #50CD5F #50BDCD
monochromatic
#7E2446 #AE3260 #CD507F #DB80A2 #E8AFC5

Accessibility & contrast

On white

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

On black

5.05
#CD507F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD507F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD507F#FFFFFF#000000##000000
##CD507F1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#666D80
Deuteranopia (green-blind)
#88857C
Tritanopia (blue-blind)
#DD4462
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd507f;
/* rgb */ color: rgb(205, 80, 127);
/* oklch */ color: oklch(60.9% 0.164 359.8);
Tailwind
colors: {
  custom: {
    50: '#e087a4',
    500: '#cd507f',
    950: '#000000',
  },
}
SCSS
$custom: #cd507f;
$custom-light: #e087a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd507f",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 127
  },
  "hsl": {
    "h": 337.44,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60862,
    "c": 0.16416,
    "h": 359.8
  },
  "luminance": 0.20249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD507F

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

Preview Lab → · Contrast checker → · Palette generator →

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