#D02FA2

Closest named color: Purpley Pink (#C83CB9). oklch(59.5% 0.224 342.4), rgb(208, 47, 162).

Aa

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

About this color

#D02FA2 is a medium-dark, vivid pink. In OKLCH its lightness is 59%, its chroma 0.224 and its hue 342°. Its hue sits on the warm side of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.039 away. Black text reads best on it, at 4.61:1.

Hue familyPinks
Lightnessmedium-dark (59%)
Chromavivid (0.224)
Temperaturewarm
Nearest namePurpley Pink (#C83CB9)
Black text4.61:1
White text4.55:1

Values

HEX#D02FA2
RGBrgb(208, 47, 162)
HSLhsl(317, 63%, 50%)
OKLCHoklch(59.5% 0.224 342.4)

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 #D02FA2 4.55:1 AA Lc -75.7 Fine for body text
Black text on #D02FA2 4.61:1 AA Lc 33.9 Non-text elements, placeholder text
#D02FA2 text on white 4.55:1 AA Lc 70.2 Content text, not long reading
#D02FA2 text on black 4.61:1 AA Lc -31.5 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

    #FAE2F0

    oklch(93.6% 0.032 341.8)

  3. Step 200

    200

    #F7CAE4

    oklch(88.5% 0.061 342.8)

  4. Step 300

    300

    #F2A4D4

    oklch(80.9% 0.11 342.3)

  5. Step 400

    400

    #E86EBE

    oklch(70.7% 0.176 342.5)

  6. Step 500

    500 (this color)

    #D02FA2

    oklch(59.5% 0.224 342.4)

  7. Step 600

    600

    #C70098

    oklch(55.6% 0.239 342.6)

  8. Step 700

    700

    #A80080

    oklch(49.1% 0.211 342.5)

  9. Step 800

    800

    #8B0069

    oklch(42.7% 0.183 342.7)

  10. Step 900

    900

    #711156

    oklch(37.7% 0.146 342.6)

  11. Step 950

    950

    #420E32

    oklch(26.9% 0.091 342.6)

Export this scale for Tailwind in the Tailwind colors tool

#D02FA2 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)#4065A50.250
Deuteranopia (no green cones)#747F9E0.214
Tritanopia (no blue cones)#DD31660.099
Achromatopsia (no color)#7676760.225

Harmonies

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

Complementary

The opposite hue (180°).

  • #D02FA2

    #D02FA2

    oklch(59.5% 0.224 342.4)

  • #009667

    #009667

    oklch(59.5% 0.13 162.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D02FA2

    #D02FA2

    oklch(59.5% 0.224 342.4)

  • #AB47DB

    #AB47DB

    oklch(59.5% 0.223 312.6)

  • #E42059

    #E42059

    oklch(59.6% 0.224 12.5)

Open the analogous palette in the generator

Split complementary

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

  • #D02FA2

    #D02FA2

    oklch(59.5% 0.224 342.4)

  • #569200

    #569200

    oklch(59.5% 0.166 132.4)

  • #00918F

    #00918F

    oklch(59.4% 0.102 193)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D02FA2

    #D02FA2

    oklch(59.5% 0.224 342.4)

  • #8D8100

    #8D8100

    oklch(59.5% 0.125 103)

  • #008CAE

    #008CAE

    oklch(59.4% 0.111 222.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D02FA2

    #D02FA2

    oklch(59.5% 0.224 342.4)

  • #AC7000

    #AC7000

    oklch(59.4% 0.127 72.3)

  • #009667

    #009667

    oklch(59.5% 0.13 162.4)

  • #007FE5

    #007FE5

    oklch(59.5% 0.18 252.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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