#CD42A7

Closest named color: Purpley Pink (#C83CB9). oklch(60.8% 0.204 340.6), rgb(205, 66, 167).

Aa

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

About this color

#CD42A7 is a medium-dark, vivid pink. In OKLCH its lightness is 61%, its chroma 0.204 and its hue 341°. Its hue sits on the warm side of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.034 away. Black text reads best on it, at 4.93:1.

Hue familyPinks
Lightnessmedium-dark (61%)
Chromavivid (0.204)
Temperaturewarm
Nearest namePurpley Pink (#C83CB9)
Black text4.93:1
White text4.25:1

Values

HEX#CD42A7
RGBrgb(205, 66, 167)
HSLhsl(316, 58%, 53%)
OKLCHoklch(60.8% 0.204 340.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 #CD42A7 4.25:1 AA large text Lc -73.9 Content text, not long reading
Black text on #CD42A7 4.93:1 AA Lc 35.7 Non-text elements, placeholder text
#CD42A7 text on white 4.25:1 AA large text Lc 68.4 Content text, not long reading
#CD42A7 text on black 4.93:1 AA Lc -33.3 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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F8E3F0

    oklch(93.6% 0.028 340)

  3. Step 200

    200

    #F4CBE4

    oklch(88.4% 0.056 341.2)

  4. Step 300

    300

    #EDA7D4

    oklch(80.8% 0.1 340.7)

  5. Step 400

    400

    #E175BF

    oklch(70.8% 0.16 340.5)

  6. Step 500

    500 (this color)

    #CD42A7

    oklch(60.8% 0.204 340.6)

  7. Step 600

    600

    #C0219A

    oklch(55.6% 0.222 340.4)

  8. Step 700

    700

    #A50D83

    oklch(49.1% 0.206 340.6)

  9. Step 800

    800

    #86136B

    oklch(42.7% 0.171 340.3)

  10. Step 900

    900

    #6C1B56

    oklch(37.7% 0.132 340.8)

  11. Step 950

    950

    #401233

    oklch(27.1% 0.084 340.5)

Export this scale for Tailwind in the Tailwind colors tool

#CD42A7 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)#4B6CAA0.222
Deuteranopia (no green cones)#7783A40.194
Tritanopia (no blue cones)#D9456F0.092
Achromatopsia (no color)#7B7B7B0.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD42A7

    #CD42A7

    oklch(60.8% 0.204 340.6)

  • #009B67

    #009B67

    oklch(60.9% 0.136 160.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD42A7

    #CD42A7

    oklch(60.8% 0.204 340.6)

  • #A955DB

    #A955DB

    oklch(61% 0.204 310.7)

  • #E03965

    #E03965

    oklch(60.8% 0.203 10.6)

Open the analogous palette in the generator

Split complementary

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

  • #CD42A7

    #CD42A7

    oklch(60.8% 0.204 340.6)

  • #5F9500

    #5F9500

    oklch(60.8% 0.165 130.6)

  • #009691

    #009691

    oklch(60.8% 0.105 190.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD42A7

    #CD42A7

    oklch(60.8% 0.204 340.6)

  • #948400

    #948400

    oklch(60.9% 0.127 100.8)

  • #0091B1

    #0091B1

    oklch(60.8% 0.111 220.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD42A7

    #CD42A7

    oklch(60.8% 0.204 340.6)

  • #B37300

    #B37300

    oklch(60.9% 0.131 71.1)

  • #009B67

    #009B67

    oklch(60.9% 0.136 160.7)

  • #0085E6

    #0085E6

    oklch(60.9% 0.175 250.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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