#D52F7D

Closest named color: Dark Hot Pink (#D90166). oklch(58.9% 0.209 357.7), rgb(213, 47, 125).

Aa

White text reads best on this color (4.63:1).

About this color

#D52F7D is a medium-dark, vivid red. In OKLCH its lightness is 59%, its chroma 0.209 and its hue 358°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Hot Pink (#D90166), ΔE 0.038 away. White text reads best on it, at 4.63:1.

Hue familyReds
Lightnessmedium-dark (59%)
Chromavivid (0.209)
Temperaturewarm
Nearest nameDark Hot Pink (#D90166)
Black text4.53:1
White text4.63:1

Values

HEX#D52F7D
RGBrgb(213, 47, 125)
HSLhsl(332, 66%, 51%)
OKLCHoklch(58.9% 0.209 357.7)

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 #D52F7D 4.63:1 AA Lc -76.2 Fine for body text
Black text on #D52F7D 4.53:1 AA Lc 33.4 Non-text elements, placeholder text
#D52F7D text on white 4.63:1 AA Lc 70.7 Content text, not long reading
#D52F7D text on black 4.53:1 AA Lc -31.0 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 600.

  1. Step 50

    50

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #FAE3EA

    oklch(93.6% 0.027 357.2)

  3. Step 200

    200

    #F7CBD9

    oklch(88.4% 0.053 357.2)

  4. Step 300

    300

    #F3A7C1

    oklch(80.9% 0.095 357.3)

  5. Step 400

    400

    #E975A1

    oklch(70.8% 0.15 357.7)

  6. Step 500

    500

    #DE4A8A

    oklch(63.1% 0.192 357.5)

  7. Step 600

    600 (this color)

    #D52F7D

    oklch(58.9% 0.209 357.7)

  8. Step 700

    700

    #AE0C61

    oklch(49.2% 0.195 357.7)

  9. Step 800

    800

    #8D134F

    oklch(42.7% 0.161 357.8)

  10. Step 900

    900

    #711A42

    oklch(37.6% 0.126 357.1)

  11. Step 950

    950

    #431226

    oklch(27.1% 0.079 358.5)

Export this scale for Tailwind in the Tailwind colors tool

#D52F7D 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)#54617F0.236
Deuteranopia (no green cones)#8280790.211
Tritanopia (no blue cones)#E70E520.068
Achromatopsia (no color)#7575750.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #D52F7D

    #D52F7D

    oklch(58.9% 0.209 357.7)

  • #00917C

    #00917C

    oklch(58.7% 0.108 177.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D52F7D

    #D52F7D

    oklch(58.9% 0.209 357.7)

  • #BA40BA

    #BA40BA

    oklch(58.8% 0.209 327.8)

  • #DE312C

    #DE312C

    oklch(58.9% 0.209 27.7)

Open the analogous palette in the generator

Split complementary

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

  • #D52F7D

    #D52F7D

    oklch(58.9% 0.209 357.7)

  • #009739

    #009739

    oklch(59% 0.172 147.6)

  • #008D9C

    #008D9C

    oklch(58.8% 0.101 207.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D52F7D

    #D52F7D

    oklch(58.9% 0.209 357.7)

  • #778700

    #778700

    oklch(59% 0.137 117.7)

  • #0086C0

    #0086C0

    oklch(58.8% 0.13 237.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D52F7D

    #D52F7D

    oklch(58.9% 0.209 357.7)

  • #9B7700

    #9B7700

    oklch(58.8% 0.12 87.4)

  • #00917C

    #00917C

    oklch(58.7% 0.108 177.6)

  • #486EF7

    #486EF7

    oklch(58.9% 0.209 267.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #D52F7D.

Similar named colors

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

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