#D040AD

Closest named color: Purpley Pink (#C83CB9). oklch(61.4% 0.212 339.2), rgb(208, 64, 173).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (61%)
Chromavivid (0.212)
Temperaturewarm
Nearest namePurpley Pink (#C83CB9)
Black text5.01:1
White text4.18:1

Values

HEX#D040AD
RGBrgb(208, 64, 173)
HSLhsl(315, 61%, 53%)
OKLCHoklch(61.4% 0.212 339.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 #D040AD 4.18:1 AA large text Lc -73.3 Content text, not long reading
Black text on #D040AD 5.01:1 AA Lc 36.3 Non-text elements, placeholder text
#D040AD text on white 4.18:1 AA large text Lc 67.8 Content text, not long reading
#D040AD text on black 5.01:1 AA Lc -33.9 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

    #F4CBE6

    oklch(88.5% 0.058 338.9)

  4. Step 300

    300

    #EEA6D7

    oklch(80.9% 0.105 339.1)

  5. Step 400

    400

    #E273C2

    oklch(70.8% 0.166 339.4)

  6. Step 500

    500 (this color)

    #D040AD

    oklch(61.4% 0.212 339.2)

  7. Step 600

    600

    #C1189E

    oklch(55.6% 0.23 339.2)

  8. Step 700

    700

    #A60087

    oklch(49.1% 0.214 339.2)

  9. Step 800

    800

    #870D6E

    oklch(42.7% 0.178 339.1)

  10. Step 900

    900

    #6D1859

    oklch(37.7% 0.138 339.3)

  11. Step 950

    950

    #401034

    oklch(26.9% 0.088 339.2)

Export this scale for Tailwind in the Tailwind colors tool

#D040AD 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)#486DB00.231
Deuteranopia (no green cones)#7684AA0.200
Tritanopia (no blue cones)#DC45710.099
Achromatopsia (no color)#7C7C7C0.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #D040AD

    #D040AD

    oklch(61.4% 0.212 339.2)

  • #009D65

    #009D65

    oklch(61.4% 0.14 159.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D040AD

    #D040AD

    oklch(61.4% 0.212 339.2)

  • #AA54E2

    #AA54E2

    oklch(61.4% 0.213 309.4)

  • #E53469

    #E53469

    oklch(61.4% 0.212 9)

Open the analogous palette in the generator

Split complementary

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

  • #D040AD

    #D040AD

    oklch(61.4% 0.212 339.2)

  • #649600

    #649600

    oklch(61.4% 0.164 129.3)

  • #009891

    #009891

    oklch(61.3% 0.106 189)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D040AD

    #D040AD

    oklch(61.4% 0.212 339.2)

  • #978500

    #978500

    oklch(61.4% 0.128 99.7)

  • #0093B1

    #0093B1

    oklch(61.3% 0.111 219.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D040AD

    #D040AD

    oklch(61.4% 0.212 339.2)

  • #B77300

    #B77300

    oklch(61.4% 0.134 69.2)

  • #009D65

    #009D65

    oklch(61.4% 0.14 159.3)

  • #0088E5

    #0088E5

    oklch(61.5% 0.17 249.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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