#CD51AA#CD51AA

#CD51AA is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.6% C 0.186 H 340.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#CD51AA
RGBrgb(205, 81, 170)
HSLhsl(317, 55%, 56%)
HSVhsv(317, 60%, 80%)
CMYKcmyk(0%, 60.5%, 17.1%, 19.6%)
CIE-LABlab(53.78, 58.88, -23.36)
CIE-LCHlch(53.78, 63.34, 338.36°)
OKLaboklab(62.58% 0.1746 -0.0628)
OKLCHoklch(62.58% 0.186 340.2)
XYZxyz(35.3757, 21.7693, 40.3612)
Luminance0.2177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD51AA #51CD74
analogous
#B251CD #CD51AA #CD516C
triadic
#CD51AA #AACD51 #51AACD
tetradic
#CD51AA #CDB251 #51CD74 #516CCD
square
#CD51AA #CDB251 #51CD74 #516CCD
split-complementary
#CD51AA #6CCD51 #51CDB2
monochromatic
#7F2566 #AF328B #CD51AA #DB81C1 #E8B0D8

Accessibility & contrast

On white

3.92
#CD51AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#CD51AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD51AA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD51AA#FFFFFF#000000##000000
##CD51AA1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5874AD
Deuteranopia (green-blind)
#7D88A7
Tritanopia (blue-blind)
#D85476
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd51aa;
/* rgb */ color: rgb(205, 81, 170);
/* oklch */ color: oklch(62.6% 0.186 340.2);
Tailwind
colors: {
  custom: {
    50: '#df89c3',
    500: '#cd51aa',
    950: '#000000',
  },
}
SCSS
$custom: #cd51aa;
$custom-light: #df89c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd51aa",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 316.935,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62582,
    "c": 0.18552,
    "h": 340.2
  },
  "luminance": 0.21766
}

Semantic roles & 50–950 ramp

primary
#CD51AA
secondary
#A3D7B2
accent
#DF7349
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD51AA

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

Preview Lab → · Contrast checker → · Palette generator →

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