#D98FB2

Closest named color: Pig Pink (#E78EA5). oklch(73.5% 0.1 350), rgb(217, 143, 178).

Aa

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

About this color

#D98FB2 is a medium-light, moderately saturated pink. In OKLCH its lightness is 73%, its chroma 0.100 and its hue 350°. Its hue sits on the warm side of the wheel. The nearest named color is Pig Pink (#E78EA5), ΔE 0.029 away. Black text reads best on it, at 8.52:1.

Hue familyPinks
Lightnessmedium-light (73%)
Chromamoderately saturated (0.100)
Temperaturewarm
Nearest namePig Pink (#E78EA5)
Black text8.52:1
White text2.46:1

Values

HEX#D98FB2
RGBrgb(217, 143, 178)
HSLhsl(332, 49%, 71%)
OKLCHoklch(73.5% 0.1 350)

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 #D98FB2 2.46:1 Fails Lc -53.3 Large or bold text, headings
Black text on #D98FB2 8.52:1 AAA Lc 55.7 Large or bold text, headings
#D98FB2 text on white 2.46:1 Fails Lc 48.3 Large or bold text, headings
#D98FB2 text on black 8.52:1 AAA Lc -53.7 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

    #FAF3F6

    oklch(97% 0.008 349.2)

  2. Step 100

    100

    #F4E5EB

    oklch(93.6% 0.018 351.2)

  3. Step 200

    200

    #ECD0DC

    oklch(88.4% 0.035 350.1)

  4. Step 300

    300

    #E1B1C6

    oklch(81% 0.062 350.5)

  5. Step 400

    400 (this color)

    #D98FB2

    oklch(73.5% 0.1 350)

  6. Step 500

    500

    #C26794

    oklch(63.2% 0.127 350.4)

  7. Step 600

    600

    #AD4C7F

    oklch(55.6% 0.139 349.8)

  8. Step 700

    700

    #943D6B

    oklch(49.2% 0.128 350)

  9. Step 800

    800

    #783357

    oklch(42.7% 0.106 350)

  10. Step 900

    900

    #612D48

    oklch(37.6% 0.083 349.4)

  11. Step 950

    950

    #391B2A

    oklch(27% 0.052 349.8)

Export this scale for Tailwind in the Tailwind colors tool

#D98FB2 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)#969EB30.106
Deuteranopia (no green cones)#A8AAB00.098
Tritanopia (no blue cones)#E38D9B0.035
Achromatopsia (no color)#A5A5A50.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #D98FB2

    #D98FB2

    oklch(73.5% 0.1 350)

  • #61BEA0

    #61BEA0

    oklch(73.6% 0.1 170.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D98FB2

    #D98FB2

    oklch(73.5% 0.1 350)

  • #C595D0

    #C595D0

    oklch(73.5% 0.098 320)

  • #E18F8F

    #E18F8F

    oklch(73.4% 0.1 19.8)

Open the analogous palette in the generator

Split complementary

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

  • #D98FB2

    #D98FB2

    oklch(73.5% 0.1 350)

  • #87B97C

    #87B97C

    oklch(73.5% 0.101 140)

  • #4EBCC2

    #4EBCC2

    oklch(73.5% 0.1 200.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D98FB2

    #D98FB2

    oklch(73.5% 0.1 350)

  • #ADAF62

    #ADAF62

    oklch(73.5% 0.1 109.9)

  • #60B5DC

    #60B5DC

    oklch(73.5% 0.1 230)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D98FB2

    #D98FB2

    oklch(73.5% 0.1 350)

  • #CAA25D

    #CAA25D

    oklch(73.4% 0.099 79.9)

  • #61BEA0

    #61BEA0

    oklch(73.6% 0.1 170.1)

  • #84AAE8

    #84AAE8

    oklch(73.4% 0.1 260)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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