#D21F93

Closest named color: Medium Violet Red (#C71585). oklch(58.2% 0.229 347.7), rgb(210, 31, 147).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (58%)
Chromavivid (0.229)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.35:1
White text4.81:1

Values

HEX#D21F93
RGBrgb(210, 31, 147)
HSLhsl(321, 74%, 47%)
OKLCHoklch(58.2% 0.229 347.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 #D21F93 4.81:1 AA Lc -77.0 Fine for body text
Black text on #D21F93 4.35:1 AA large text Lc 32.5 Non-text elements, placeholder text
#D21F93 text on white 4.81:1 AA Lc 71.6 Content text, not long reading
#D21F93 text on black 4.35:1 AA large text Lc -30.1 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

    #FAE2ED

    oklch(93.5% 0.03 348.2)

  3. Step 200

    200

    #F7CAE0

    oklch(88.4% 0.058 347.4)

  4. Step 300

    300

    #F2A5CD

    oklch(80.8% 0.103 347.2)

  5. Step 400

    400

    #E871B3

    oklch(70.7% 0.164 347.7)

  6. Step 500

    500

    #DE42A0

    oklch(63.1% 0.212 347.8)

  7. Step 600

    600 (this color)

    #D21F93

    oklch(58.2% 0.229 347.7)

  8. Step 700

    700

    #AB0075

    oklch(49.1% 0.206 347.8)

  9. Step 800

    800

    #8C0560

    oklch(42.6% 0.176 347.5)

  10. Step 900

    900

    #71154F

    oklch(37.7% 0.138 347.3)

  11. Step 950

    950

    #430F2E

    oklch(27% 0.088 347.9)

Export this scale for Tailwind in the Tailwind colors tool

#D21F93 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)#415F960.260
Deuteranopia (no green cones)#767D8F0.226
Tritanopia (no blue cones)#E1105A0.092
Achromatopsia (no color)#7272720.231

Harmonies

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

Complementary

The opposite hue (180°).

  • #D21F93

    #D21F93

    oklch(58.2% 0.229 347.7)

  • #00916D

    #00916D

    oklch(58.3% 0.119 167.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D21F93

    #D21F93

    oklch(58.2% 0.229 347.7)

  • #AF3BD1

    #AF3BD1

    oklch(58.2% 0.229 317.4)

  • #E20D45

    #E20D45

    oklch(58.2% 0.229 17.6)

Open the analogous palette in the generator

Split complementary

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

  • #D21F93

    #D21F93

    oklch(58.2% 0.229 347.7)

  • #3C9100

    #3C9100

    oklch(58.1% 0.178 137.7)

  • #008C90

    #008C90

    oklch(58.1% 0.099 198.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D21F93

    #D21F93

    oklch(58.2% 0.229 347.7)

  • #837F00

    #837F00

    oklch(58.1% 0.125 107.5)

  • #0087AF

    #0087AF

    oklch(58.2% 0.113 227.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D21F93

    #D21F93

    oklch(58.2% 0.229 347.7)

  • #A27000

    #A27000

    oklch(58.2% 0.121 77.7)

  • #00916D

    #00916D

    oklch(58.3% 0.119 167.6)

  • #0074F5

    #0074F5

    oklch(58.3% 0.212 257.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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