#D271BD

Closest named color: Pale Magenta (#D767AD). oklch(68.3% 0.153 335.8), rgb(210, 113, 189).

Aa

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

About this color

#D271BD is a medium-light, vivid pink. In OKLCH its lightness is 68%, its chroma 0.153 and its hue 336°. 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.83:1.

Hue familyPinks
Lightnessmedium-light (68%)
Chromavivid (0.153)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text6.83:1
White text3.07:1

Values

HEX#D271BD
RGBrgb(210, 113, 189)
HSLhsl(313, 52%, 63%)
OKLCHoklch(68.3% 0.153 335.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 #D271BD 3.07:1 AA large text Lc -62.6 Content text, not long reading
Black text on #D271BD 6.83:1 AA Lc 46.8 Large or bold text, headings
#D271BD text on white 3.07:1 AA large text Lc 57.2 Large or bold text, headings
#D271BD text on black 6.83:1 AA Lc -44.5 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

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E3F1

    oklch(93.5% 0.028 334.9)

  3. Step 200

    200

    #F1CCE7

    oklch(88.5% 0.054 335.7)

  4. Step 300

    300

    #E8A9D8

    oklch(80.8% 0.095 335.9)

  5. Step 400

    400 (this color)

    #D271BD

    oklch(68.3% 0.153 335.8)

  6. Step 500

    500

    #CE50B6

    oklch(63.1% 0.196 335.9)

  7. Step 600

    600

    #B92DA1

    oklch(55.7% 0.212 336.1)

  8. Step 700

    700

    #9F1C8A

    oklch(49.1% 0.198 336)

  9. Step 800

    800

    #811C70

    oklch(42.7% 0.163 336)

  10. Step 900

    900

    #681F5B

    oklch(37.7% 0.127 335.7)

  11. Step 950

    950

    #3D1435

    oklch(27% 0.08 335.8)

Export this scale for Tailwind in the Tailwind colors tool

#D271BD 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)#728AC00.155
Deuteranopia (no green cones)#8C98BA0.140
Tritanopia (no blue cones)#DB758E0.076
Achromatopsia (no color)#9393930.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #D271BD

    #D271BD

    oklch(68.3% 0.153 335.8)

  • #2BB46F

    #2BB46F

    oklch(68.2% 0.153 155.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D271BD

    #D271BD

    oklch(68.3% 0.153 335.8)

  • #B07EE3

    #B07EE3

    oklch(68.3% 0.152 305.6)

  • #E56C8B

    #E56C8B

    oklch(68.3% 0.153 5.9)

Open the analogous palette in the generator

Split complementary

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

  • #D271BD

    #D271BD

    oklch(68.3% 0.153 335.8)

  • #82A92F

    #82A92F

    oklch(68.3% 0.153 125.8)

  • #00B1A4

    #00B1A4

    oklch(68.4% 0.12 185.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D271BD

    #D271BD

    oklch(68.3% 0.153 335.8)

  • #B39700

    #B39700

    oklch(68.1% 0.14 95.7)

  • #00ABC8

    #00ABC8

    oklch(68.3% 0.121 215.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D271BD

    #D271BD

    oklch(68.3% 0.153 335.8)

  • #D78200

    #D78200

    oklch(68.2% 0.152 65.6)

  • #2BB46F

    #2BB46F

    oklch(68.2% 0.153 155.7)

  • #34A0F1

    #34A0F1

    oklch(68.3% 0.153 245.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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