#CD51A0#CD51A0

#CD51A0 is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.2% C 0.179 H 344.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CD51A0
RGBrgb(205, 81, 160)
HSLhsl(322, 55%, 56%)
HSVhsv(322, 60%, 80%)
CMYKcmyk(0%, 60.5%, 22%, 19.6%)
CIE-LABlab(53.39, 57.45, -18.10)
CIE-LCHlch(53.39, 60.24, 342.51°)
OKLaboklab(62.17% 0.1724 -0.0481)
OKLCHoklch(62.17% 0.179 344.4)
XYZxyz(34.4655, 21.4052, 35.5674)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD51A0 #51CD7E
analogous
#BC51CD #CD51A0 #CD5162
triadic
#CD51A0 #A0CD51 #51A0CD
tetradic
#CD51A0 #CDBC51 #51CD7E #5162CD
square
#CD51A0 #CDBC51 #51CD7E #5162CD
split-complementary
#CD51A0 #62CD51 #51CDBC
monochromatic
#7F255E #AF3281 #CD51A0 #DB81BA #E8B0D4

Accessibility & contrast

On white

3.98
#CD51A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#CD51A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD51A0
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD51A0#FFFFFF#000000##000000
##CD51A01.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C72A2
Deuteranopia (green-blind)
#80879D
Tritanopia (blue-blind)
#D95071
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd51a0;
/* rgb */ color: rgb(205, 81, 160);
/* oklch */ color: oklch(62.2% 0.179 344.4);
Tailwind
colors: {
  custom: {
    50: '#df88bc',
    500: '#cd51a0',
    950: '#000000',
  },
}
SCSS
$custom: #cd51a0;
$custom-light: #df88bc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd51a0",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 160
  },
  "hsl": {
    "h": 321.774,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62166,
    "c": 0.17897,
    "h": 344.4
  },
  "luminance": 0.21402
}

Semantic roles & 50–950 ramp

primary
#CD51A0
secondary
#A3D7B6
accent
#DF7F49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD51A0

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

Preview Lab → · Contrast checker → · Palette generator →

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