#D940A3

Closest named color: Pinky Purple (#C94CBE). oklch(62.3% 0.212 345.3), rgb(217, 64, 163).

Aa

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

About this color

#D940A3 is a medium-light, vivid red. In OKLCH its lightness is 62%, its chroma 0.212 and its hue 345°. Its hue sits on the warm side of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.051 away. Black text reads best on it, at 5.21:1.

Hue familyReds
Lightnessmedium-light (62%)
Chromavivid (0.212)
Temperaturewarm
Nearest namePinky Purple (#C94CBE)
Black text5.21:1
White text4.02:1

Values

HEX#D940A3
RGBrgb(217, 64, 163)
HSLhsl(321, 67%, 55%)
OKLCHoklch(62.3% 0.212 345.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 #D940A3 4.02:1 AA large text Lc -71.9 Content text, not long reading
Black text on #D940A3 5.21:1 AA Lc 37.7 Non-text elements, placeholder text
#D940A3 text on white 4.02:1 AA large text Lc 66.4 Content text, not long reading
#D940A3 text on black 5.21:1 AA Lc -35.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

    #FDF2F7

    oklch(97.1% 0.013 347.9)

  2. Step 100

    100

    #FAE2EE

    oklch(93.6% 0.031 346)

  3. Step 200

    200

    #F6CBE2

    oklch(88.6% 0.057 344.9)

  4. Step 300

    300

    #F1A5D0

    oklch(80.8% 0.104 344.7)

  5. Step 400

    400

    #E771B7

    oklch(70.7% 0.166 345.6)

  6. Step 500

    500 (this color)

    #D940A3

    oklch(62.3% 0.212 345.3)

  7. Step 600

    600

    #C70E91

    oklch(55.6% 0.231 345.1)

  8. Step 700

    700

    #AA007A

    oklch(49.1% 0.209 345.5)

  9. Step 800

    800

    #8B0664

    oklch(42.7% 0.177 345.2)

  10. Step 900

    900

    #701652

    oklch(37.7% 0.138 345)

  11. Step 950

    950

    #420F30

    oklch(26.9% 0.088 344.9)

Export this scale for Tailwind in the Tailwind colors tool

#D940A3 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)#526EA60.234
Deuteranopia (no green cones)#80889F0.206
Tritanopia (no blue cones)#E73D6C0.088
Achromatopsia (no color)#7F7F7F0.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #D940A3

    #D940A3

    oklch(62.3% 0.212 345.3)

  • #009F74

    #009F74

    oklch(62.3% 0.13 165.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D940A3

    #D940A3

    oklch(62.3% 0.212 345.3)

  • #B653DC

    #B653DC

    oklch(62.3% 0.212 315.4)

  • #EA395C

    #EA395C

    oklch(62.3% 0.211 15.2)

Open the analogous palette in the generator

Split complementary

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

  • #D940A3

    #D940A3

    oklch(62.3% 0.212 345.3)

  • #509E00

    #509E00

    oklch(62.4% 0.183 135.3)

  • #009B9B

    #009B9B

    oklch(62.4% 0.107 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D940A3

    #D940A3

    oklch(62.3% 0.212 345.3)

  • #938B00

    #938B00

    oklch(62.4% 0.133 105.6)

  • #0095BD

    #0095BD

    oklch(62.3% 0.119 225.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D940A3

    #D940A3

    oklch(62.3% 0.212 345.3)

  • #B47A00

    #B47A00

    oklch(62.4% 0.131 75.7)

  • #009F74

    #009F74

    oklch(62.3% 0.13 165.6)

  • #0284FF

    #0284FF

    oklch(62.4% 0.206 255.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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