#CD508A#CD508A

#CD508A is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.2% C 0.169 H 354.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CD508A
RGBrgb(205, 80, 138)
HSLhsl(332, 56%, 56%)
HSVhsv(332, 61%, 80%)
CMYKcmyk(0%, 61%, 32.7%, 19.6%)
CIE-LABlab(52.46, 55.04, -6.50)
CIE-LCHlch(52.46, 55.42, 353.26°)
OKLaboklab(61.22% 0.1677 -0.0165)
OKLCHoklch(61.22% 0.169 354.4)
XYZxyz(32.6346, 20.5549, 26.2887)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD508A #50CD93
analogous
#CD50C9 #CD508A #CD5450
triadic
#CD508A #8ACD50 #508ACD
tetradic
#CD508A #C9CD50 #50CD93 #5450CD
square
#CD508A #C9CD50 #50CD93 #5450CD
split-complementary
#CD508A #50CD54 #50C9CD
monochromatic
#7E244E #AE326B #CD508A #DB80AA #E8AFCA

Accessibility & contrast

On white

4.11
#CD508A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CD508A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD508A
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD508A#FFFFFF#000000##000000
##CD508A1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#636F8C
Deuteranopia (green-blind)
#858687
Tritanopia (blue-blind)
#DC4867
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd508a;
/* rgb */ color: rgb(205, 80, 138);
/* oklch */ color: oklch(61.2% 0.169 354.4);
Tailwind
colors: {
  custom: {
    50: '#e087ac',
    500: '#cd508a',
    950: '#000000',
  },
}
SCSS
$custom: #cd508a;
$custom-light: #e087ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd508a",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 332.16,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61224,
    "c": 0.16853,
    "h": 354.4
  },
  "luminance": 0.20551
}

Semantic roles & 50–950 ramp

primary
#CD508A
secondary
#A2D6BE
accent
#DF9949
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD508A

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

Preview Lab → · Contrast checker → · Palette generator →

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