#D42FA0

Closest named color: Purpley Pink (#C83CB9). oklch(60% 0.225 344.2), rgb(212, 47, 160).

Aa

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

About this color

#D42FA0 is a medium-dark, vivid pink. In OKLCH its lightness is 60%, its chroma 0.225 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.045 away. Black text reads best on it, at 4.71:1.

Hue familyPinks
Lightnessmedium-dark (60%)
Chromavivid (0.225)
Temperaturewarm
Nearest namePurpley Pink (#C83CB9)
Black text4.71:1
White text4.45:1

Values

HEX#D42FA0
RGBrgb(212, 47, 160)
HSLhsl(319, 66%, 51%)
OKLCHoklch(60% 0.225 344.2)

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 #D42FA0 4.45:1 AA large text Lc -74.9 Content text, not long reading
Black text on #D42FA0 4.71:1 AA Lc 34.6 Non-text elements, placeholder text
#D42FA0 text on white 4.45:1 AA large text Lc 69.4 Content text, not long reading
#D42FA0 text on black 4.71:1 AA Lc -32.2 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

    #FDF2F8

    oklch(97.1% 0.014 343.2)

  2. Step 100

    100

    #FAE2EF

    oklch(93.6% 0.031 343.8)

  3. Step 200

    200

    #F8CAE3

    oklch(88.6% 0.061 344.6)

  4. Step 300

    300

    #F3A4D2

    oklch(80.9% 0.109 344)

  5. Step 400

    400

    #E96DBB

    oklch(70.6% 0.176 344)

  6. Step 500

    500 (this color)

    #D42FA0

    oklch(60% 0.225 344.2)

  7. Step 600

    600

    #C80094

    oklch(55.6% 0.237 344.2)

  8. Step 700

    700

    #A9007D

    oklch(49.1% 0.21 344)

  9. Step 800

    800

    #8C0066

    oklch(42.7% 0.182 344.5)

  10. Step 900

    900

    #721054

    oklch(37.8% 0.147 344.2)

  11. Step 950

    950

    #430D31

    oklch(27% 0.093 344.3)

Export this scale for Tailwind in the Tailwind colors tool

#D42FA0 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)#4466A30.251
Deuteranopia (no green cones)#78819C0.217
Tritanopia (no blue cones)#E22D650.096
Achromatopsia (no color)#7777770.227

Harmonies

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

Complementary

The opposite hue (180°).

  • #D42FA0

    #D42FA0

    oklch(60% 0.225 344.2)

  • #00986C

    #00986C

    oklch(60.2% 0.128 164.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D42FA0

    #D42FA0

    oklch(60% 0.225 344.2)

  • #AF47DB

    #AF47DB

    oklch(60% 0.224 314)

  • #E72155

    #E72155

    oklch(60.1% 0.225 14.4)

Open the analogous palette in the generator

Split complementary

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

  • #D42FA0

    #D42FA0

    oklch(60% 0.225 344.2)

  • #509500

    #509500

    oklch(60% 0.173 134.3)

  • #009392

    #009392

    oklch(60% 0.103 193.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D42FA0

    #D42FA0

    oklch(60% 0.225 344.2)

  • #8D8300

    #8D8300

    oklch(60% 0.127 104.2)

  • #008EB2

    #008EB2

    oklch(60.1% 0.113 223.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D42FA0

    #D42FA0

    oklch(60% 0.225 344.2)

  • #AD7300

    #AD7300

    oklch(60.1% 0.127 74.1)

  • #00986C

    #00986C

    oklch(60.2% 0.128 164.2)

  • #007FEF

    #007FEF

    oklch(60.2% 0.192 254.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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