#D151A8

Closest named color: Pinky Purple (#C94CBE). oklch(63.1% 0.187 342.3), rgb(209, 81, 168).

Aa

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

About this color

#D151A8 is a medium-light, vivid pink. In OKLCH its lightness is 63%, its chroma 0.187 and its hue 342°. Its hue sits on the warm side of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.042 away. Black text reads best on it, at 5.45:1.

Hue familyPinks
Lightnessmedium-light (63%)
Chromavivid (0.187)
Temperaturewarm
Nearest namePinky Purple (#C94CBE)
Black text5.45:1
White text3.85:1

Values

HEX#D151A8
RGBrgb(209, 81, 168)
HSLhsl(319, 58%, 57%)
OKLCHoklch(63.1% 0.187 342.3)

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 #D151A8 3.85:1 AA large text Lc -70.7 Content text, not long reading
Black text on #D151A8 5.45:1 AA Lc 38.9 Non-text elements, placeholder text
#D151A8 text on white 3.85:1 AA large text Lc 65.2 Content text, not long reading
#D151A8 text on black 5.45:1 AA Lc -36.4 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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F7E3EF

    oklch(93.5% 0.027 340.9)

  3. Step 200

    200

    #F2CCE2

    oklch(88.4% 0.051 342.5)

  4. Step 300

    300

    #EBA9D1

    oklch(80.9% 0.093 342.4)

  5. Step 400

    400

    #DD79BA

    oklch(70.7% 0.146 342)

  6. Step 500

    500 (this color)

    #D151A8

    oklch(63.1% 0.187 342.3)

  7. Step 600

    600

    #BC2E93

    oklch(55.5% 0.203 342.3)

  8. Step 700

    700

    #A21E7D

    oklch(49.1% 0.189 342.5)

  9. Step 800

    800

    #831D66

    oklch(42.6% 0.156 342.1)

  10. Step 900

    900

    #6A2053

    oklch(37.7% 0.121 342.3)

  11. Step 950

    950

    #3E1431

    oklch(27% 0.077 341.4)

Export this scale for Tailwind in the Tailwind colors tool

#D151A8 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)#5B75AB0.201
Deuteranopia (no green cones)#808AA50.180
Tritanopia (no blue cones)#DD52750.082
Achromatopsia (no color)#8282820.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #D151A8

    #D151A8

    oklch(63.1% 0.187 342.3)

  • #00A270

    #00A270

    oklch(63% 0.137 162.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D151A8

    #D151A8

    oklch(63.1% 0.187 342.3)

  • #AF60D9

    #AF60D9

    oklch(63% 0.188 312.4)

  • #E34B6A

    #E34B6A

    oklch(63.1% 0.188 12.3)

Open the analogous palette in the generator

Split complementary

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

  • #D151A8

    #D151A8

    oklch(63.1% 0.187 342.3)

  • #5E9E00

    #5E9E00

    oklch(63.1% 0.176 132.3)

  • #009E9A

    #009E9A

    oklch(63.2% 0.109 191.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D151A8

    #D151A8

    oklch(63.1% 0.187 342.3)

  • #998B00

    #998B00

    oklch(62.9% 0.132 102.3)

  • #0098BC

    #0098BC

    oklch(63% 0.117 222.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D151A8

    #D151A8

    oklch(63.1% 0.187 342.3)

  • #BA7A00

    #BA7A00

    oklch(63.1% 0.135 72.7)

  • #00A270

    #00A270

    oklch(63% 0.137 162.6)

  • #0A8AF5

    #0A8AF5

    oklch(63% 0.187 252.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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