#D178B7

Closest named color: Pale Magenta (#D767AD). oklch(69% 0.135 338.9), rgb(209, 120, 183).

Aa

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

About this color

#D178B7 is a medium-light, moderately saturated pink. In OKLCH its lightness is 69%, its chroma 0.135 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.036 away. Black text reads best on it, at 7.08:1.

Hue familyPinks
Lightnessmedium-light (69%)
Chromamoderately saturated (0.135)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text7.08:1
White text2.96:1

Values

HEX#D178B7
RGBrgb(209, 120, 183)
HSLhsl(318, 49%, 65%)
OKLCHoklch(69% 0.135 338.9)

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 #D178B7 2.96:1 Fails Lc -61.3 Content text, not long reading
Black text on #D178B7 7.08:1 AAA Lc 48.1 Large or bold text, headings
#D178B7 text on white 2.96:1 Fails Lc 55.9 Large or bold text, headings
#D178B7 text on black 7.08:1 AAA Lc -45.8 Large or bold text, headings

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 400.

  1. Step 50

    50

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F6E4EF

    oklch(93.6% 0.024 340.3)

  3. Step 200

    200

    #EFCEE4

    oklch(88.6% 0.047 338.3)

  4. Step 300

    300

    #E6ACD3

    oklch(81% 0.084 339)

  5. Step 400

    400 (this color)

    #D178B7

    oklch(69% 0.135 338.9)

  6. Step 500

    500

    #CA58AC

    oklch(63.1% 0.174 338.9)

  7. Step 600

    600

    #B53997

    oklch(55.6% 0.189 339)

  8. Step 700

    700

    #9B2A81

    oklch(49.1% 0.175 338.7)

  9. Step 800

    800

    #7E2569

    oklch(42.7% 0.145 338.7)

  10. Step 900

    900

    #662455

    oklch(37.7% 0.113 339)

  11. Step 950

    950

    #3C1632

    oklch(27% 0.072 338.7)

Export this scale for Tailwind in the Tailwind colors tool

#D178B7 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)#7B8DB90.138
Deuteranopia (no green cones)#929BB50.126
Tritanopia (no blue cones)#DA7A8F0.063
Achromatopsia (no color)#9696960.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #D178B7

    #D178B7

    oklch(69% 0.135 338.9)

  • #3DB47C

    #3DB47C

    oklch(68.9% 0.135 159)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D178B7

    #D178B7

    oklch(69% 0.135 338.9)

  • #B482DB

    #B482DB

    oklch(69% 0.137 309.1)

  • #E1758A

    #E1758A

    oklch(69.1% 0.135 8.9)

Open the analogous palette in the generator

Split complementary

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

  • #D178B7

    #D178B7

    oklch(69% 0.135 338.9)

  • #81AB4A

    #81AB4A

    oklch(69% 0.135 129)

  • #00B2AA

    #00B2AA

    oklch(68.9% 0.119 189.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D178B7

    #D178B7

    oklch(69% 0.135 338.9)

  • #B19C1D

    #B19C1D

    oklch(69.1% 0.136 98.9)

  • #00ADCF

    #00ADCF

    oklch(69% 0.124 218.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D178B7

    #D178B7

    oklch(69% 0.135 338.9)

  • #D18A2B

    #D18A2B

    oklch(69.1% 0.135 68.9)

  • #3DB47C

    #3DB47C

    oklch(68.9% 0.135 159)

  • #50A1EB

    #50A1EB

    oklch(69.1% 0.135 248.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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