#D8287C

Closest named color: Dark Hot Pink (#D90166). oklch(58.9% 0.217 358.1), rgb(216, 40, 124).

Aa

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

About this color

#D8287C is a medium-dark, vivid red. In OKLCH its lightness is 59%, its chroma 0.217 and its hue 358°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Hot Pink (#D90166), ΔE 0.034 away. White text reads best on it, at 4.65:1.

Hue familyReds
Lightnessmedium-dark (59%)
Chromavivid (0.217)
Temperaturewarm
Nearest nameDark Hot Pink (#D90166)
Black text4.51:1
White text4.65:1

Values

HEX#D8287C
RGBrgb(216, 40, 124)
HSLhsl(331, 69%, 50%)
OKLCHoklch(58.9% 0.217 358.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 #D8287C 4.65:1 AA Lc -76.1 Fine for body text
Black text on #D8287C 4.51:1 AA Lc 33.5 Non-text elements, placeholder text
#D8287C text on white 4.65:1 AA Lc 70.6 Content text, not long reading
#D8287C text on black 4.51:1 AA 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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #FBE3EA

    oklch(93.7% 0.028 358)

  3. Step 200

    200

    #F8CBD9

    oklch(88.5% 0.054 357.7)

  4. Step 300

    300

    #F5A6C0

    oklch(80.9% 0.098 358.2)

  5. Step 400

    400

    #EB72A0

    oklch(70.6% 0.156 357.9)

  6. Step 500

    500

    #E14589

    oklch(63.1% 0.2 357.9)

  7. Step 600

    600 (this color)

    #D8287C

    oklch(58.9% 0.217 358.1)

  8. Step 700

    700

    #B00060

    oklch(49.2% 0.2 358.2)

  9. Step 800

    800

    #8F0B4E

    oklch(42.7% 0.167 358.3)

  10. Step 900

    900

    #731741

    oklch(37.7% 0.13 358.1)

  11. Step 950

    950

    #441026

    oklch(27% 0.083 358.3)

Export this scale for Tailwind in the Tailwind colors tool

#D8287C 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)#535F7E0.245
Deuteranopia (no green cones)#8280780.219
Tritanopia (no blue cones)#EA004F0.070
Achromatopsia (no color)#7474740.219

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8287C

    #D8287C

    oklch(58.9% 0.217 358.1)

  • #00917D

    #00917D

    oklch(58.8% 0.108 178.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8287C

    #D8287C

    oklch(58.9% 0.217 358.1)

  • #BC3CBC

    #BC3CBC

    oklch(58.8% 0.217 327.9)

  • #E12B26

    #E12B26

    oklch(58.9% 0.217 28.1)

Open the analogous palette in the generator

Split complementary

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

  • #D8287C

    #D8287C

    oklch(58.9% 0.217 358.1)

  • #00973B

    #00973B

    oklch(59% 0.171 148)

  • #008D9C

    #008D9C

    oklch(58.8% 0.101 207.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8287C

    #D8287C

    oklch(58.9% 0.217 358.1)

  • #768700

    #768700

    oklch(58.9% 0.137 118.2)

  • #0086C1

    #0086C1

    oklch(58.9% 0.131 238.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8287C

    #D8287C

    oklch(58.9% 0.217 358.1)

  • #9A7800

    #9A7800

    oklch(58.9% 0.12 88.8)

  • #00917D

    #00917D

    oklch(58.8% 0.108 178.4)

  • #486CFB

    #486CFB

    oklch(58.9% 0.217 268.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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