#D178B2

Closest named color: Pale Magenta (#D767AD). oklch(68.8% 0.132 341.6), rgb(209, 120, 178).

Aa

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

About this color

#D178B2 is a medium-light, moderately saturated pink. In OKLCH its lightness is 69%, its chroma 0.132 and its hue 342°. 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.04:1.

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

Values

HEX#D178B2
RGBrgb(209, 120, 178)
HSLhsl(321, 49%, 65%)
OKLCHoklch(68.8% 0.132 341.6)

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 #D178B2 2.98:1 Fails Lc -61.5 Content text, not long reading
Black text on #D178B2 7.04:1 AAA Lc 47.9 Large or bold text, headings
#D178B2 text on white 2.98:1 Fails Lc 56.2 Large or bold text, headings
#D178B2 text on black 7.04:1 AAA Lc -45.6 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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F6E4EE

    oklch(93.6% 0.024 342.9)

  3. Step 200

    200

    #EFCEE2

    oklch(88.5% 0.045 341.1)

  4. Step 300

    300

    #E6ACD0

    oklch(80.9% 0.082 341.4)

  5. Step 400

    400 (this color)

    #D178B2

    oklch(68.8% 0.132 341.6)

  6. Step 500

    500

    #CA59A6

    oklch(63% 0.168 341.5)

  7. Step 600

    600

    #B53B91

    oklch(55.5% 0.182 341.6)

  8. Step 700

    700

    #9C2C7C

    oklch(49.2% 0.17 341.5)

  9. Step 800

    800

    #7F2665

    oklch(42.8% 0.142 341.5)

  10. Step 900

    900

    #662552

    oklch(37.7% 0.109 341.4)

  11. Step 950

    950

    #3C1730

    oklch(27% 0.068 341.6)

Export this scale for Tailwind in the Tailwind colors tool

#D178B2 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)#7D8DB40.136
Deuteranopia (no green cones)#949BB00.125
Tritanopia (no blue cones)#DB798D0.058
Achromatopsia (no color)#9595950.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #D178B2

    #D178B2

    oklch(68.8% 0.132 341.6)

  • #39B381

    #39B381

    oklch(68.7% 0.131 161.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D178B2

    #D178B2

    oklch(68.8% 0.132 341.6)

  • #B582D6

    #B582D6

    oklch(68.8% 0.131 311.2)

  • #DF7686

    #DF7686

    oklch(68.9% 0.131 11.5)

Open the analogous palette in the generator

Split complementary

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

  • #D178B2

    #D178B2

    oklch(68.8% 0.132 341.6)

  • #7CAB50

    #7CAB50

    oklch(68.7% 0.132 131.7)

  • #00B1AD

    #00B1AD

    oklch(68.7% 0.118 191.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D178B2

    #D178B2

    oklch(68.8% 0.132 341.6)

  • #AC9D27

    #AC9D27

    oklch(68.9% 0.132 101.7)

  • #00ABD2

    #00ABD2

    oklch(68.7% 0.127 221.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D178B2

    #D178B2

    oklch(68.8% 0.132 341.6)

  • #CD8B2C

    #CD8B2C

    oklch(68.8% 0.132 71.2)

  • #39B381

    #39B381

    oklch(68.7% 0.131 161.9)

  • #589FE9

    #589FE9

    oklch(68.8% 0.131 251.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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