#D8417E

Closest named color: Dark Pink (#CB416B). oklch(60.9% 0.193 0), rgb(216, 65, 126).

Aa

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

About this color

#D8417E is a medium-dark, vivid red. In OKLCH its lightness is 61%, its chroma 0.193 and its hue 0°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Pink (#CB416B), ΔE 0.037 away. Black text reads best on it, at 4.97:1.

Hue familyReds
Lightnessmedium-dark (61%)
Chromavivid (0.193)
Temperaturewarm
Nearest nameDark Pink (#CB416B)
Black text4.97:1
White text4.21:1

Values

HEX#D8417E
RGBrgb(216, 65, 126)
HSLhsl(336, 66%, 55%)
OKLCHoklch(60.9% 0.193 0)

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 #D8417E 4.21:1 AA large text Lc -73.5 Content text, not long reading
Black text on #D8417E 4.97:1 AA Lc 36.1 Non-text elements, placeholder text
#D8417E text on white 4.21:1 AA large text Lc 68.0 Content text, not long reading
#D8417E text on black 4.97:1 AA Lc -33.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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #FBE3E9

    oklch(93.7% 0.027 0.7)

  3. Step 200

    200

    #F8CBD8

    oklch(88.5% 0.053 359)

  4. Step 300

    300

    #F4A7BE

    oklch(80.9% 0.095 360)

  5. Step 400

    400

    #EA749D

    oklch(70.7% 0.151 359.7)

  6. Step 500

    500 (this color)

    #D8417E

    oklch(60.9% 0.193 0)

  7. Step 600

    600

    #CB1E6E

    oklch(55.6% 0.21 0.1)

  8. Step 700

    700

    #AF085C

    oklch(49.1% 0.195 0)

  9. Step 800

    800

    #8E114B

    oklch(42.7% 0.161 0.1)

  10. Step 900

    900

    #721A3F

    oklch(37.7% 0.125 359.8)

  11. Step 950

    950

    #431125

    oklch(26.9% 0.08 359.3)

Export this scale for Tailwind in the Tailwind colors tool

#D8417E 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)#6069800.216
Deuteranopia (no green cones)#89867A0.196
Tritanopia (no blue cones)#EA2D5A0.058
Achromatopsia (no color)#7B7B7B0.195

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8417E

    #D8417E

    oklch(60.9% 0.193 0)

  • #009885

    #009885

    oklch(60.9% 0.111 179.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8417E

    #D8417E

    oklch(60.9% 0.193 0)

  • #BF4DB9

    #BF4DB9

    oklch(60.9% 0.193 329.8)

  • #DF4534

    #DF4534

    oklch(60.9% 0.193 29.9)

Open the analogous palette in the generator

Split complementary

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

  • #D8417E

    #D8417E

    oklch(60.9% 0.193 0)

  • #009D48

    #009D48

    oklch(60.8% 0.167 150.1)

  • #0093A6

    #0093A6

    oklch(60.8% 0.105 210.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8417E

    #D8417E

    oklch(60.9% 0.193 0)

  • #788E00

    #788E00

    oklch(60.8% 0.144 120)

  • #008CCD

    #008CCD

    oklch(61% 0.139 239.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8417E

    #D8417E

    oklch(60.9% 0.193 0)

  • #A07E00

    #A07E00

    oklch(60.8% 0.124 89.6)

  • #009885

    #009885

    oklch(60.9% 0.111 179.8)

  • #5875F5

    #5875F5

    oklch(60.9% 0.194 270.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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