#CD508F#CD508F

#CD508F is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.4% C 0.171 H 352.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CD508F
RGBrgb(205, 80, 143)
HSLhsl(330, 56%, 56%)
HSVhsv(330, 61%, 80%)
CMYKcmyk(0%, 61%, 30.2%, 19.6%)
CIE-LABlab(52.62, 55.65, -9.23)
CIE-LCHlch(52.62, 56.41, 350.58°)
OKLaboklab(61.4% 0.1692 -0.0238)
OKLCHoklch(61.4% 0.171 352)
XYZxyz(33.0050, 20.7030, 28.2392)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD508F #50CD8E
analogous
#CD50CD #CD508F #CD5050
triadic
#CD508F #8FCD50 #508FCD
tetradic
#CD508F #CDCD50 #50CD8E #5050CD
square
#CD508F #CDCD50 #50CD8E #5050CD
split-complementary
#CD508F #50CD50 #50CDCD
monochromatic
#7E2452 #AE3270 #CD508F #DB80AD #E8AFCC

Accessibility & contrast

On white

4.09
#CD508F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CD508F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD508F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD508F#FFFFFF#000000##000000
##CD508F1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#626F91
Deuteranopia (green-blind)
#84868C
Tritanopia (blue-blind)
#DB4969
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd508f;
/* rgb */ color: rgb(205, 80, 143);
/* oklch */ color: oklch(61.4% 0.171 352.0);
Tailwind
colors: {
  custom: {
    50: '#e088af',
    500: '#cd508f',
    950: '#000000',
  },
}
SCSS
$custom: #cd508f;
$custom-light: #e088af;
$custom-dark: #000000;
JSON
{
  "hex": "#cd508f",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 329.76,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61399,
    "c": 0.17088,
    "h": 352
  },
  "luminance": 0.207
}

Semantic roles & 50–950 ramp

primary
#CD508F
secondary
#A2D6BC
accent
#DF9349
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD508F

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

Preview Lab → · Contrast checker → · Palette generator →

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