#D52197

Closest named color: Medium Violet Red (#C71585). oklch(59% 0.232 347.1), rgb(213, 33, 151).

Aa

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

About this color

#D52197 is a medium-dark, vivid red. In OKLCH its lightness is 59%, its chroma 0.232 and its hue 347°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.039 away. White text reads best on it, at 4.67:1.

Hue familyReds
Lightnessmedium-dark (59%)
Chromavivid (0.232)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.49:1
White text4.67:1

Values

HEX#D52197
RGBrgb(213, 33, 151)
HSLhsl(321, 73%, 48%)
OKLCHoklch(59% 0.232 347.1)

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 #D52197 4.67:1 AA Lc -76.1 Fine for body text
Black text on #D52197 4.49:1 AA large text Lc 33.4 Non-text elements, placeholder text
#D52197 text on white 4.67:1 AA Lc 70.6 Content text, not long reading
#D52197 text on black 4.49:1 AA large text 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

    #FDF2F7

    oklch(97.1% 0.013 347.9)

  2. Step 100

    100

    #FAE2EE

    oklch(93.6% 0.031 346)

  3. Step 200

    200

    #F7CAE0

    oklch(88.4% 0.058 347.4)

  4. Step 300

    300

    #F3A5CE

    oklch(80.9% 0.105 346.9)

  5. Step 400

    400

    #E870B4

    oklch(70.6% 0.167 347.1)

  6. Step 500

    500

    #DE41A2

    oklch(63.1% 0.214 347)

  7. Step 600

    600 (this color)

    #D52197

    oklch(59% 0.232 347.1)

  8. Step 700

    700

    #AB0077

    oklch(49.2% 0.207 347)

  9. Step 800

    800

    #8D0361

    oklch(42.8% 0.178 347.3)

  10. Step 900

    900

    #71144F

    oklch(37.6% 0.139 347.2)

  11. Step 950

    950

    #430F2F

    oklch(27.1% 0.088 346.8)

Export this scale for Tailwind in the Tailwind colors tool

#D52197 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)#42619A0.262
Deuteranopia (no green cones)#787F930.227
Tritanopia (no blue cones)#E4155C0.095
Achromatopsia (no color)#7474740.234

Harmonies

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

Complementary

The opposite hue (180°).

  • #D52197

    #D52197

    oklch(59% 0.232 347.1)

  • #00936E

    #00936E

    oklch(58.9% 0.12 167.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D52197

    #D52197

    oklch(59% 0.232 347.1)

  • #B23DD5

    #B23DD5

    oklch(59% 0.232 317.2)

  • #E60E48

    #E60E48

    oklch(59% 0.232 17.1)

Open the analogous palette in the generator

Split complementary

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

  • #D52197

    #D52197

    oklch(59% 0.232 347.1)

  • #419400

    #419400

    oklch(59.1% 0.179 137.1)

  • #008F92

    #008F92

    oklch(59% 0.1 197.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D52197

    #D52197

    oklch(59% 0.232 347.1)

  • #868100

    #868100

    oklch(58.9% 0.126 107)

  • #008AB1

    #008AB1

    oklch(59% 0.113 226.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D52197

    #D52197

    oklch(59% 0.232 347.1)

  • #A67200

    #A67200

    oklch(59.1% 0.124 77.1)

  • #00936E

    #00936E

    oklch(58.9% 0.12 167.3)

  • #0077F6

    #0077F6

    oklch(59% 0.21 257.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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