#D42E7D

Closest named color: Dark Hot Pink (#D90166). oklch(58.6% 0.209 357.4), rgb(212, 46, 125).

Aa

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

About this color

#D42E7D is a medium-dark, vivid red. In OKLCH its lightness is 59%, its chroma 0.209 and its hue 357°. 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.68:1.

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

Values

HEX#D42E7D
RGBrgb(212, 46, 125)
HSLhsl(331, 66%, 51%)
OKLCHoklch(58.6% 0.209 357.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 #D42E7D 4.68:1 AA Lc -76.5 Fine for body text
Black text on #D42E7D 4.48:1 AA large text Lc 33.1 Non-text elements, placeholder text
#D42E7D text on white 4.68:1 AA Lc 71.0 Content text, not long reading
#D42E7D text on black 4.48:1 AA large text Lc -30.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 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)

    #D42E7D

    oklch(58.6% 0.209 357.4)

  8. Step 700

    700

    #AD0C61

    oklch(49% 0.194 357.5)

  9. Step 800

    800

    #8D1350

    oklch(42.8% 0.161 357.2)

  10. Step 900

    900

    #711A42

    oklch(37.6% 0.126 357.1)

  11. Step 950

    950

    #431227

    oklch(27.1% 0.079 357.3)

Export this scale for Tailwind in the Tailwind colors tool

#D42E7D 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)#53607F0.236
Deuteranopia (no green cones)#817F790.210
Tritanopia (no blue cones)#E60D520.068
Achromatopsia (no color)#7474740.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #D42E7D

    #D42E7D

    oklch(58.6% 0.209 357.4)

  • #00917B

    #00917B

    oklch(58.7% 0.109 176.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D42E7D

    #D42E7D

    oklch(58.6% 0.209 357.4)

  • #B940BA

    #B940BA

    oklch(58.7% 0.209 327.5)

  • #DD302D

    #DD302D

    oklch(58.6% 0.209 27.3)

Open the analogous palette in the generator

Split complementary

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

  • #D42E7D

    #D42E7D

    oklch(58.6% 0.209 357.4)

  • #009637

    #009637

    oklch(58.7% 0.173 147.3)

  • #008C9B

    #008C9B

    oklch(58.5% 0.101 208)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D42E7D

    #D42E7D

    oklch(58.6% 0.209 357.4)

  • #778600

    #778600

    oklch(58.7% 0.136 117.3)

  • #0085BE

    #0085BE

    oklch(58.5% 0.129 237.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D42E7D

    #D42E7D

    oklch(58.6% 0.209 357.4)

  • #9A7600

    #9A7600

    oklch(58.5% 0.12 87.2)

  • #00917B

    #00917B

    oklch(58.7% 0.109 176.9)

  • #466DF6

    #466DF6

    oklch(58.6% 0.21 267.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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