#CD45B6

Closest named color: Pinky Purple (#C94CBE). oklch(61.8% 0.21 335.3), rgb(205, 69, 182).

Aa

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

About this color

#CD45B6 is a medium-dark, vivid pink. In OKLCH its lightness is 62%, its chroma 0.210 and its hue 335°. Its hue sits on the warm side of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.016 away. Black text reads best on it, at 5.12:1.

Hue familyPinks
Lightnessmedium-dark (62%)
Chromavivid (0.210)
Temperaturewarm
Nearest namePinky Purple (#C94CBE)
Black text5.12:1
White text4.09:1

Values

HEX#CD45B6
RGBrgb(205, 69, 182)
HSLhsl(310, 58%, 54%)
OKLCHoklch(61.8% 0.21 335.3)

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 #CD45B6 4.09:1 AA large text Lc -72.7 Content text, not long reading
Black text on #CD45B6 5.12:1 AA Lc 36.9 Non-text elements, placeholder text
#CD45B6 text on white 4.09:1 AA large text Lc 67.2 Content text, not long reading
#CD45B6 text on black 5.12:1 AA Lc -34.5 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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F7E3F2

    oklch(93.6% 0.029 334.4)

  3. Step 200

    200

    #F2CCE8

    oklch(88.6% 0.056 335.5)

  4. Step 300

    300

    #EBA7DB

    oklch(80.9% 0.104 335.3)

  5. Step 400

    400

    #DE75C8

    oklch(70.8% 0.164 335.6)

  6. Step 500

    500 (this color)

    #CD45B6

    oklch(61.8% 0.21 335.3)

  7. Step 600

    600

    #BD1FA6

    oklch(55.7% 0.229 335.4)

  8. Step 700

    700

    #A20B8E

    oklch(49.1% 0.212 335.3)

  9. Step 800

    800

    #841273

    oklch(42.7% 0.176 335.6)

  10. Step 900

    900

    #6A1A5D

    oklch(37.6% 0.137 335.3)

  11. Step 950

    950

    #3F1137

    oklch(27% 0.088 335.3)

Export this scale for Tailwind in the Tailwind colors tool

#CD45B6 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)#4570B90.225
Deuteranopia (no green cones)#7285B30.196
Tritanopia (no blue cones)#D74E780.104
Achromatopsia (no color)#7D7D7D0.212

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD45B6

    #CD45B6

    oklch(61.8% 0.21 335.3)

  • #009F5C

    #009F5C

    oklch(61.7% 0.151 155.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD45B6

    #CD45B6

    oklch(61.8% 0.21 335.3)

  • #A459E8

    #A459E8

    oklch(61.7% 0.21 305.2)

  • #E43874

    #E43874

    oklch(61.8% 0.21 5.2)

Open the analogous palette in the generator

Split complementary

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

  • #CD45B6

    #CD45B6

    oklch(61.8% 0.21 335.3)

  • #709500

    #709500

    oklch(61.9% 0.156 125.3)

  • #009A8F

    #009A8F

    oklch(61.7% 0.108 186)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD45B6

    #CD45B6

    oklch(61.8% 0.21 335.3)

  • #9D8400

    #9D8400

    oklch(61.8% 0.127 95.6)

  • #0096AF

    #0096AF

    oklch(62% 0.109 215)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD45B6

    #CD45B6

    oklch(61.8% 0.21 335.3)

  • #BD7100

    #BD7100

    oklch(61.8% 0.138 65.2)

  • #009F5C

    #009F5C

    oklch(61.7% 0.151 155.5)

  • #008CDD

    #008CDD

    oklch(61.9% 0.157 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 #CD45B6, closest first.

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

Similar named colors

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

Use #CD45B6 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.