#D157AF

Closest named color: Pale Magenta (#D767AD). oklch(64.1% 0.183 339.8), rgb(209, 87, 175).

Aa

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

About this color

#D157AF is a medium-light, vivid pink. In OKLCH its lightness is 64%, its chroma 0.183 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.037 away. Black text reads best on it, at 5.69:1.

Hue familyPinks
Lightnessmedium-light (64%)
Chromavivid (0.183)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text5.69:1
White text3.68:1

Values

HEX#D157AF
RGBrgb(209, 87, 175)
HSLhsl(317, 57%, 58%)
OKLCHoklch(64.1% 0.183 339.8)

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 #D157AF 3.68:1 AA large text Lc -69.3 Content text, not long reading
Black text on #D157AF 5.69:1 AA Lc 40.3 Non-text elements, placeholder text
#D157AF text on white 3.68:1 AA large text Lc 63.8 Content text, not long reading
#D157AF text on black 5.69:1 AA Lc -37.9 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 500.

  1. Step 50

    50

    #FBF2F8

    oklch(97% 0.012 337.5)

  2. Step 100

    100

    #F7E4EF

    oklch(93.7% 0.025 341.8)

  3. Step 200

    200

    #F1CDE4

    oklch(88.5% 0.05 339.6)

  4. Step 300

    300

    #E8AAD3

    oklch(80.8% 0.09 339.6)

  5. Step 400

    400

    #DA7ABD

    oklch(70.6% 0.144 339.5)

  6. Step 500

    500 (this color)

    #D157AF

    oklch(64.1% 0.183 339.8)

  7. Step 600

    600

    #B93397

    oklch(55.7% 0.199 340)

  8. Step 700

    700

    #9F2381

    oklch(49.1% 0.185 339.9)

  9. Step 800

    800

    #812069

    oklch(42.7% 0.154 339.7)

  10. Step 900

    900

    #682155

    oklch(37.6% 0.12 339.9)

  11. Step 950

    950

    #3D1532

    oklch(27% 0.075 339.5)

Export this scale for Tailwind in the Tailwind colors tool

#D157AF 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)#5D79B20.195
Deuteranopia (no green cones)#818CAC0.172
Tritanopia (no blue cones)#DC5A7B0.084
Achromatopsia (no color)#8585850.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #D157AF

    #D157AF

    oklch(64.1% 0.183 339.8)

  • #00A66D

    #00A66D

    oklch(64% 0.145 160.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D157AF

    #D157AF

    oklch(64.1% 0.183 339.8)

  • #AE66DE

    #AE66DE

    oklch(64.1% 0.183 309.9)

  • #E45173

    #E45173

    oklch(64.1% 0.183 10)

Open the analogous palette in the generator

Split complementary

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

  • #D157AF

    #D157AF

    oklch(64.1% 0.183 339.8)

  • #699F00

    #699F00

    oklch(64% 0.171 129.7)

  • #00A19B

    #00A19B

    oklch(64% 0.11 190.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D157AF

    #D157AF

    oklch(64.1% 0.183 339.8)

  • #A08D00

    #A08D00

    oklch(64.1% 0.133 99.7)

  • #009CBD

    #009CBD

    oklch(64.1% 0.117 220)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D157AF

    #D157AF

    oklch(64.1% 0.183 339.8)

  • #C17B00

    #C17B00

    oklch(64.1% 0.139 70.2)

  • #00A66D

    #00A66D

    oklch(64% 0.145 160.1)

  • #008FF4

    #008FF4

    oklch(64% 0.181 249.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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