#D52F90

Closest named color: Medium Violet Red (#C71585). oklch(59.5% 0.217 350.3), rgb(213, 47, 144).

Aa

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

About this color

#D52F90 is a medium-dark, vivid red. In OKLCH its lightness is 60%, its chroma 0.217 and its hue 350°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.042 away. Black text reads best on it, at 4.63:1.

Hue familyReds
Lightnessmedium-dark (60%)
Chromavivid (0.217)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.63:1
White text4.52:1

Values

HEX#D52F90
RGBrgb(213, 47, 144)
HSLhsl(325, 66%, 51%)
OKLCHoklch(59.5% 0.217 350.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 #D52F90 4.52:1 AA Lc -75.4 Fine for body text
Black text on #D52F90 4.63:1 AA Lc 34.1 Non-text elements, placeholder text
#D52F90 text on white 4.52:1 AA Lc 70.0 Content text, not long reading
#D52F90 text on black 4.63:1 AA Lc -31.7 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

    #FEF2F7

    oklch(97.2% 0.014 350.1)

  2. Step 100

    100

    #FBE2ED

    oklch(93.6% 0.031 349.3)

  3. Step 200

    200

    #F9CADE

    oklch(88.5% 0.059 350.9)

  4. Step 300

    300

    #F5A4CA

    oklch(80.9% 0.106 350.1)

  5. Step 400

    400

    #EC6EAF

    oklch(70.7% 0.17 350.2)

  6. Step 500

    500 (this color)

    #D52F90

    oklch(59.5% 0.217 350.3)

  7. Step 600

    600

    #CC0085

    oklch(55.7% 0.232 350.5)

  8. Step 700

    700

    #AC0070

    oklch(49.1% 0.205 350.2)

  9. Step 800

    800

    #8E005C

    oklch(42.6% 0.178 350.1)

  10. Step 900

    900

    #73114C

    oklch(37.6% 0.142 349.8)

  11. Step 950

    950

    #440E2C

    oklch(27% 0.089 350.6)

Export this scale for Tailwind in the Tailwind colors tool

#D52F90 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)#4D64920.244
Deuteranopia (no green cones)#7D818C0.215
Tritanopia (no blue cones)#E5215C0.082
Achromatopsia (no color)#7676760.219

Harmonies

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

Complementary

The opposite hue (180°).

  • #D52F90

    #D52F90

    oklch(59.5% 0.217 350.3)

  • #009574

    #009574

    oklch(59.6% 0.118 170)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D52F90

    #D52F90

    oklch(59.5% 0.217 350.3)

  • #B544CC

    #B544CC

    oklch(59.6% 0.217 320.4)

  • #E32944

    #E32944

    oklch(59.5% 0.217 20.3)

Open the analogous palette in the generator

Split complementary

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

  • #D52F90

    #D52F90

    oklch(59.5% 0.217 350.3)

  • #2A9800

    #2A9800

    oklch(59.5% 0.193 140.3)

  • #009097

    #009097

    oklch(59.4% 0.101 200.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D52F90

    #D52F90

    oklch(59.5% 0.217 350.3)

  • #848500

    #848500

    oklch(59.6% 0.13 110.3)

  • #008BB8

    #008BB8

    oklch(59.6% 0.119 230.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D52F90

    #D52F90

    oklch(59.5% 0.217 350.3)

  • #A57500

    #A57500

    oklch(59.6% 0.123 79.9)

  • #009574

    #009574

    oklch(59.6% 0.118 170)

  • #2375FD

    #2375FD

    oklch(59.5% 0.217 260.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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