#D271B4

Closest named color: Pale Magenta (#D767AD). oklch(67.9% 0.146 340.1), rgb(210, 113, 180).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-light (68%)
Chromavivid (0.146)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text6.76:1
White text3.10:1

Values

HEX#D271B4
RGBrgb(210, 113, 180)
HSLhsl(319, 52%, 63%)
OKLCHoklch(67.9% 0.146 340.1)

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 #D271B4 3.10:1 AA large text Lc -63.1 Content text, not long reading
Black text on #D271B4 6.76:1 AA Lc 46.4 Large or bold text, headings
#D271B4 text on white 3.10:1 AA large text Lc 57.7 Large or bold text, headings
#D271B4 text on black 6.76:1 AA Lc -44.1 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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F7E3EF

    oklch(93.5% 0.027 340.9)

  3. Step 200

    200

    #F1CDE4

    oklch(88.5% 0.05 339.6)

  4. Step 300

    300

    #E9AAD3

    oklch(80.9% 0.091 340.1)

  5. Step 400

    400 (this color)

    #D271B4

    oklch(67.9% 0.146 340.1)

  6. Step 500

    500

    #CF52AC

    oklch(63.1% 0.187 340.1)

  7. Step 600

    600

    #BA3097

    oklch(55.6% 0.202 340.2)

  8. Step 700

    700

    #A02181

    oklch(49.1% 0.188 340.2)

  9. Step 800

    800

    #821E69

    oklch(42.7% 0.157 340.1)

  10. Step 900

    900

    #692055

    oklch(37.7% 0.122 340.4)

  11. Step 950

    950

    #3E1432

    oklch(27% 0.078 340.2)

Export this scale for Tailwind in the Tailwind colors tool

#D271B4 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)#7589B60.152
Deuteranopia (no green cones)#8F98B10.138
Tritanopia (no blue cones)#DC738A0.067
Achromatopsia (no color)#9292920.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #D271B4

    #D271B4

    oklch(67.9% 0.146 340.1)

  • #20B378

    #20B378

    oklch(68% 0.147 159.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D271B4

    #D271B4

    oklch(67.9% 0.146 340.1)

  • #B47CDB

    #B47CDB

    oklch(68% 0.147 310.2)

  • #E26D83

    #E26D83

    oklch(67.8% 0.147 10)

Open the analogous palette in the generator

Split complementary

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

  • #D271B4

    #D271B4

    oklch(67.9% 0.146 340.1)

  • #79A93F

    #79A93F

    oklch(67.8% 0.146 130.2)

  • #00AFA8

    #00AFA8

    oklch(68% 0.118 189.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D271B4

    #D271B4

    oklch(67.9% 0.146 340.1)

  • #AD9900

    #AD9900

    oklch(68% 0.141 100)

  • #00A9CD

    #00A9CD

    oklch(68% 0.124 220.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D271B4

    #D271B4

    oklch(67.9% 0.146 340.1)

  • #D08506

    #D08506

    oklch(67.9% 0.146 69.9)

  • #20B378

    #20B378

    oklch(68% 0.147 159.9)

  • #489CEE

    #489CEE

    oklch(67.8% 0.146 250.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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