#CD51AC#CD51AC

#CD51AC is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.7% C 0.187 H 339.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#CD51AC
RGBrgb(205, 81, 172)
HSLhsl(316, 55%, 56%)
HSVhsv(316, 60%, 80%)
CMYKcmyk(0%, 60.5%, 16.1%, 19.6%)
CIE-LABlab(53.86, 59.17, -24.40)
CIE-LCHlch(53.86, 64.00, 337.59°)
OKLaboklab(62.67% 0.175 -0.0657)
OKLCHoklch(62.67% 0.187 339.4)
XYZxyz(35.5663, 21.8456, 41.3652)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD51AC #51CD72
analogous
#B051CD #CD51AC #CD516E
triadic
#CD51AC #ACCD51 #51ACCD
tetradic
#CD51AC #CDB051 #51CD72 #516ECD
square
#CD51AC #CDB051 #51CD72 #516ECD
split-complementary
#CD51AC #6ECD51 #51CDB0
monochromatic
#7F2567 #AF328E #CD51AC #DB81C3 #E8B0D9

Accessibility & contrast

On white

3.91
#CD51AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#CD51AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD51AC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD51AC#FFFFFF#000000##000000
##CD51AC1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5774AF
Deuteranopia (green-blind)
#7C88A9
Tritanopia (blue-blind)
#D85477
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd51ac;
/* rgb */ color: rgb(205, 81, 172);
/* oklch */ color: oklch(62.7% 0.187 339.4);
Tailwind
colors: {
  custom: {
    50: '#df89c5',
    500: '#cd51ac',
    950: '#000000',
  },
}
SCSS
$custom: #cd51ac;
$custom-light: #df89c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd51ac",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 315.968,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62669,
    "c": 0.18691,
    "h": 339.4
  },
  "luminance": 0.21843
}

Semantic roles & 50–950 ramp

primary
#CD51AC
secondary
#A3D7B1
accent
#DF7149
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD51AC

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

Preview Lab → · Contrast checker → · Palette generator →

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