#CD51AE#CD51AE

#CD51AE is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.8% C 0.188 H 338.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#CD51AE
RGBrgb(205, 81, 174)
HSLhsl(315, 55%, 56%)
HSVhsv(315, 60%, 80%)
CMYKcmyk(0%, 60.5%, 15.1%, 19.6%)
CIE-LABlab(53.95, 59.47, -25.44)
CIE-LCHlch(53.95, 64.68, 336.84°)
OKLaboklab(62.76% 0.1754 -0.0686)
OKLCHoklch(62.76% 0.188 338.6)
XYZxyz(35.7598, 21.9230, 42.3844)
Luminance0.2192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD51AE #51CD70
analogous
#AE51CD #CD51AE #CD5170
triadic
#CD51AE #AECD51 #51AECD
tetradic
#CD51AE #CDAE51 #51CD70 #5170CD
square
#CD51AE #CDAE51 #51CD70 #5170CD
split-complementary
#CD51AE #70CD51 #51CDAE
monochromatic
#7F2568 #AF3290 #CD51AE #DB81C4 #E8B0DA

Accessibility & contrast

On white

3.90
#CD51AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#CD51AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD51AE
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD51AE#FFFFFF#000000##000000
##CD51AE1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5675B1
Deuteranopia (green-blind)
#7B88AB
Tritanopia (blue-blind)
#D85578
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd51ae;
/* rgb */ color: rgb(205, 81, 174);
/* oklch */ color: oklch(62.8% 0.188 338.6);
Tailwind
colors: {
  custom: {
    50: '#df89c6',
    500: '#cd51ae',
    950: '#000000',
  },
}
SCSS
$custom: #cd51ae;
$custom-light: #df89c6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd51ae",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 315,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62756,
    "c": 0.18831,
    "h": 338.6
  },
  "luminance": 0.2192
}

Semantic roles & 50–950 ramp

primary
#CD51AE
secondary
#A3D7B0
accent
#DF6F49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD51AE

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

Preview Lab → · Contrast checker → · Palette generator →

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