#D173BA

Closest named color: Pale Magenta (#D767AD). oklch(68.3% 0.146 337), rgb(209, 115, 186).

Aa

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

About this color

#D173BA is a medium-light, vivid pink. In OKLCH its lightness is 68%, its chroma 0.146 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.028 away. Black text reads best on it, at 6.87:1.

Hue familyPinks
Lightnessmedium-light (68%)
Chromavivid (0.146)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text6.87:1
White text3.05:1

Values

HEX#D173BA
RGBrgb(209, 115, 186)
HSLhsl(315, 51%, 64%)
OKLCHoklch(68.3% 0.146 337)

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 #D173BA 3.05:1 AA large text Lc -62.4 Content text, not long reading
Black text on #D173BA 6.87:1 AA Lc 47.0 Large or bold text, headings
#D173BA text on white 3.05:1 AA large text Lc 57.1 Large or bold text, headings
#D173BA text on black 6.87:1 AA Lc -44.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 400.

  1. Step 50

    50

    #FBF2F8

    oklch(97% 0.012 337.5)

  2. Step 100

    100

    #F6E3F0

    oklch(93.5% 0.027 337.1)

  3. Step 200

    200

    #F0CDE6

    oklch(88.5% 0.051 336.3)

  4. Step 300

    300

    #E7AAD6

    oklch(80.8% 0.091 336.9)

  5. Step 400

    400 (this color)

    #D173BA

    oklch(68.3% 0.146 337)

  6. Step 500

    500

    #CC53B2

    oklch(63% 0.188 336.8)

  7. Step 600

    600

    #B7329D

    oklch(55.6% 0.202 337)

  8. Step 700

    700

    #9D2287

    oklch(49% 0.189 336.6)

  9. Step 800

    800

    #80206D

    oklch(42.7% 0.156 337.2)

  10. Step 900

    900

    #672159

    oklch(37.7% 0.122 336.5)

  11. Step 950

    950

    #3D1534

    oklch(27.1% 0.077 337.1)

Export this scale for Tailwind in the Tailwind colors tool

#D173BA 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)#758BBC0.149
Deuteranopia (no green cones)#8E99B70.136
Tritanopia (no blue cones)#DA768E0.070
Achromatopsia (no color)#9393930.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #D173BA

    #D173BA

    oklch(68.3% 0.146 337)

  • #31B474

    #31B474

    oklch(68.5% 0.147 157)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D173BA

    #D173BA

    oklch(68.3% 0.146 337)

  • #B17FDF

    #B17FDF

    oklch(68.4% 0.146 307)

  • #E36F8A

    #E36F8A

    oklch(68.5% 0.146 7)

Open the analogous palette in the generator

Split complementary

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

  • #D173BA

    #D173BA

    oklch(68.3% 0.146 337)

  • #81A93A

    #81A93A

    oklch(68.3% 0.146 126.9)

  • #00B1A6

    #00B1A6

    oklch(68.5% 0.12 187)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D173BA

    #D173BA

    oklch(68.3% 0.146 337)

  • #B29800

    #B29800

    oklch(68.3% 0.141 96.9)

  • #00ABCA

    #00ABCA

    oklch(68.3% 0.122 216.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D173BA

    #D173BA

    oklch(68.3% 0.146 337)

  • #D48514

    #D48514

    oklch(68.4% 0.146 67.4)

  • #31B474

    #31B474

    oklch(68.5% 0.147 157)

  • #3F9FEE

    #3F9FEE

    oklch(68.2% 0.147 247.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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