#D271B9

Closest named color: Pale Magenta (#D767AD). oklch(68.1% 0.15 337.7), rgb(210, 113, 185).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-light (68%)
Chromavivid (0.150)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text6.80:1
White text3.08:1

Values

HEX#D271B9
RGBrgb(210, 113, 185)
HSLhsl(315, 52%, 63%)
OKLCHoklch(68.1% 0.15 337.7)

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 #D271B9 3.08:1 AA large text Lc -62.8 Content text, not long reading
Black text on #D271B9 6.80:1 AA Lc 46.6 Large or bold text, headings
#D271B9 text on white 3.08:1 AA large text Lc 57.4 Large or bold text, headings
#D271B9 text on black 6.80:1 AA Lc -44.3 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

    #F7E3F0

    oklch(93.6% 0.028 338.6)

  3. Step 200

    200

    #F1CDE5

    oklch(88.6% 0.051 338.4)

  4. Step 300

    300

    #E9A9D6

    oklch(80.9% 0.095 337.8)

  5. Step 400

    400 (this color)

    #D271B9

    oklch(68.1% 0.15 337.7)

  6. Step 500

    500

    #CE51B1

    oklch(63% 0.191 337.8)

  7. Step 600

    600

    #B92E9D

    oklch(55.5% 0.208 337.6)

  8. Step 700

    700

    #9F1E86

    oklch(49% 0.193 337.7)

  9. Step 800

    800

    #811D6D

    oklch(42.6% 0.16 337.5)

  10. Step 900

    900

    #682058

    oklch(37.7% 0.124 337.7)

  11. Step 950

    950

    #3D1434

    oklch(26.9% 0.079 337)

Export this scale for Tailwind in the Tailwind colors tool

#D271B9 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)#7389BC0.154
Deuteranopia (no green cones)#8D98B60.139
Tritanopia (no blue cones)#DB748D0.070
Achromatopsia (no color)#9393930.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #D271B9

    #D271B9

    oklch(68.1% 0.15 337.7)

  • #27B473

    #27B473

    oklch(68.2% 0.151 157.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D271B9

    #D271B9

    oklch(68.1% 0.15 337.7)

  • #B27DDF

    #B27DDF

    oklch(68.1% 0.149 307.8)

  • #E46D88

    #E46D88

    oklch(68.3% 0.15 7.6)

Open the analogous palette in the generator

Split complementary

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

  • #D271B9

    #D271B9

    oklch(68.1% 0.15 337.7)

  • #7EA937

    #7EA937

    oklch(68.1% 0.149 127.7)

  • #00B0A6

    #00B0A6

    oklch(68.2% 0.119 187.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D271B9

    #D271B9

    oklch(68.1% 0.15 337.7)

  • #B19800

    #B19800

    oklch(68.2% 0.141 97.4)

  • #00AACA

    #00AACA

    oklch(68.1% 0.122 217.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D271B9

    #D271B9

    oklch(68.1% 0.15 337.7)

  • #D48401

    #D48401

    oklch(68.2% 0.149 67.9)

  • #27B473

    #27B473

    oklch(68.2% 0.151 157.4)

  • #3E9EF0

    #3E9EF0

    oklch(68.1% 0.15 248.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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