#CD51B6

Closest named color: Pinky Purple (#C94CBE). oklch(63.1% 0.194 335.6), rgb(205, 81, 182).

Aa

Black text reads best on this color (5.44:1).

About this color

#CD51B6 is a medium-light, vivid pink. In OKLCH its lightness is 63%, its chroma 0.194 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.020 away. Black text reads best on it, at 5.44:1.

Hue familyPinks
Lightnessmedium-light (63%)
Chromavivid (0.194)
Temperaturewarm
Nearest namePinky Purple (#C94CBE)
Black text5.44:1
White text3.85:1

Values

HEX#CD51B6
RGBrgb(205, 81, 182)
HSLhsl(311, 55%, 56%)
OKLCHoklch(63.1% 0.194 335.6)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #CD51B6 3.85:1 AA large text Lc -70.8 Content text, not long reading
Black text on #CD51B6 5.44:1 AA Lc 38.8 Non-text elements, placeholder text
#CD51B6 text on white 3.85:1 AA large text Lc 65.3 Content text, not long reading
#CD51B6 text on black 5.44:1 AA Lc -36.4 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E3F1

    oklch(93.5% 0.028 334.9)

  3. Step 200

    200

    #F0CDE7

    oklch(88.6% 0.052 335.1)

  4. Step 300

    300

    #E8A9D8

    oklch(80.8% 0.095 335.9)

  5. Step 400

    400

    #DA79C5

    oklch(70.8% 0.152 335.7)

  6. Step 500

    500 (this color)

    #CD51B6

    oklch(63.1% 0.194 335.6)

  7. Step 600

    600

    #B82EA2

    oklch(55.6% 0.211 335.4)

  8. Step 700

    700

    #9E1E8A

    oklch(49.1% 0.196 335.7)

  9. Step 800

    800

    #811D70

    oklch(42.8% 0.162 336)

  10. Step 900

    900

    #681F5B

    oklch(37.7% 0.127 335.7)

  11. Step 950

    950

    #3D1435

    oklch(27% 0.08 335.8)

Export this scale for Tailwind in the Tailwind colors tool

#CD51B6 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#5276B90.204
Deuteranopia (no green cones)#7889B30.180
Tritanopia (no blue cones)#D7587C0.097
Achromatopsia (no color)#8282820.196

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #CD51B6

    #CD51B6

    oklch(63.1% 0.194 335.6)

  • #00A45F

    #00A45F

    oklch(63.2% 0.155 155.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD51B6

    #CD51B6

    oklch(63.1% 0.194 335.6)

  • #A662E5

    #A662E5

    oklch(63% 0.195 305.5)

  • #E34778

    #E34778

    oklch(63.1% 0.194 5.6)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #CD51B6

    #CD51B6

    oklch(63.1% 0.194 335.6)

  • #729900

    #729900

    oklch(63.1% 0.16 125.6)

  • #009F93

    #009F93

    oklch(63.2% 0.111 185.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD51B6

    #CD51B6

    oklch(63.1% 0.194 335.6)

  • #A28800

    #A28800

    oklch(63.2% 0.13 95.4)

  • #009AB4

    #009AB4

    oklch(63.2% 0.112 215.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD51B6

    #CD51B6

    oklch(63.1% 0.194 335.6)

  • #C27500

    #C27500

    oklch(63.2% 0.141 65.8)

  • #00A45F

    #00A45F

    oklch(63.2% 0.155 155.5)

  • #0090E3

    #0090E3

    oklch(63.2% 0.16 245.3)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #CD51B6, closest first.

No curated palette has a color within ΔE 0.04 of #CD51B6.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #CD51B6 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.