#D040A0

Closest named color: Purpley Pink (#C83CB9). oklch(60.8% 0.204 344), rgb(208, 64, 160).

Aa

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

About this color

#D040A0 is a medium-dark, vivid pink. In OKLCH its lightness is 61%, its chroma 0.204 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.92:1.

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

Values

HEX#D040A0
RGBrgb(208, 64, 160)
HSLhsl(320, 61%, 53%)
OKLCHoklch(60.8% 0.204 344)

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 #D040A0 4.26:1 AA large text Lc -73.9 Content text, not long reading
Black text on #D040A0 4.92:1 AA Lc 35.7 Non-text elements, placeholder text
#D040A0 text on white 4.26:1 AA large text Lc 68.4 Content text, not long reading
#D040A0 text on black 4.92:1 AA Lc -33.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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F9E3EF

    oklch(93.7% 0.029 343.6)

  3. Step 200

    200

    #F5CBE2

    oklch(88.5% 0.056 344.2)

  4. Step 300

    300

    #EFA7D0

    oklch(80.9% 0.099 344.4)

  5. Step 400

    400

    #E374B9

    oklch(70.7% 0.159 343.8)

  6. Step 500

    500 (this color)

    #D040A0

    oklch(60.8% 0.204 344)

  7. Step 600

    600

    #C31D92

    oklch(55.6% 0.221 344.1)

  8. Step 700

    700

    #A8077D

    oklch(49.1% 0.206 343.8)

  9. Step 800

    800

    #881065

    oklch(42.6% 0.171 343.9)

  10. Step 900

    900

    #6E1953

    oklch(37.7% 0.134 343.7)

  11. Step 950

    950

    #411130

    oklch(27% 0.084 344.5)

Export this scale for Tailwind in the Tailwind colors tool

#D040A0 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)#4F6BA30.224
Deuteranopia (no green cones)#7A839D0.197
Tritanopia (no blue cones)#DD3F6A0.087
Achromatopsia (no color)#7A7A7A0.206

Harmonies

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

Complementary

The opposite hue (180°).

  • #D040A0

    #D040A0

    oklch(60.8% 0.204 344)

  • #009A6D

    #009A6D

    oklch(60.7% 0.13 163.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D040A0

    #D040A0

    oklch(60.8% 0.204 344)

  • #AD52D6

    #AD52D6

    oklch(60.8% 0.204 313.8)

  • #E1385C

    #E1385C

    oklch(60.7% 0.204 14)

Open the analogous palette in the generator

Split complementary

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

  • #D040A0

    #D040A0

    oklch(60.8% 0.204 344)

  • #539700

    #539700

    oklch(60.7% 0.174 133.9)

  • #009695

    #009695

    oklch(60.9% 0.104 193.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D040A0

    #D040A0

    oklch(60.8% 0.204 344)

  • #908500

    #908500

    oklch(60.7% 0.128 103.7)

  • #0090B5

    #0090B5

    oklch(60.7% 0.114 224.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D040A0

    #D040A0

    oklch(60.8% 0.204 344)

  • #B07500

    #B07500

    oklch(60.9% 0.129 74)

  • #009A6D

    #009A6D

    oklch(60.7% 0.13 163.9)

  • #0081F2

    #0081F2

    oklch(60.8% 0.194 254)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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