#CD51A3#CD51A3

#CD51A3 is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.3% C 0.181 H 343.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#CD51A3
RGBrgb(205, 81, 163)
HSLhsl(320, 55%, 56%)
HSVhsv(320, 60%, 80%)
CMYKcmyk(0%, 60.5%, 20.5%, 19.6%)
CIE-LABlab(53.50, 57.87, -19.69)
CIE-LCHlch(53.50, 61.13, 341.21°)
OKLaboklab(62.29% 0.1731 -0.0525)
OKLCHoklch(62.29% 0.181 343.1)
XYZxyz(34.7311, 21.5115, 36.9662)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD51A3 #51CD7B
analogous
#B951CD #CD51A3 #CD5165
triadic
#CD51A3 #A3CD51 #51A3CD
tetradic
#CD51A3 #CDB951 #51CD7B #5165CD
square
#CD51A3 #CDB951 #51CD7B #5165CD
split-complementary
#CD51A3 #65CD51 #51CDB9
monochromatic
#7F2560 #AF3284 #CD51A3 #DB81BC #E8B0D5

Accessibility & contrast

On white

3.96
#CD51A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#CD51A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD51A3
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD51A3#FFFFFF#000000##000000
##CD51A31.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B73A6
Deuteranopia (green-blind)
#7F87A0
Tritanopia (blue-blind)
#D95173
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd51a3;
/* rgb */ color: rgb(205, 81, 163);
/* oklch */ color: oklch(62.3% 0.181 343.1);
Tailwind
colors: {
  custom: {
    50: '#df89be',
    500: '#cd51a3',
    950: '#000000',
  },
}
SCSS
$custom: #cd51a3;
$custom-light: #df89be;
$custom-dark: #000000;
JSON
{
  "hex": "#cd51a3",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 163
  },
  "hsl": {
    "h": 320.323,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62288,
    "c": 0.18087,
    "h": 343.1
  },
  "luminance": 0.21508
}

Semantic roles & 50–950 ramp

primary
#CD51A3
secondary
#A3D7B5
accent
#DF7C49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD51A3

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

Preview Lab → · Contrast checker → · Palette generator →

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