#D271B3

Closest named color: Pale Magenta (#D767AD). oklch(67.9% 0.145 340.6), rgb(210, 113, 179).

Aa

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

About this color

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

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

Values

HEX#D271B3
RGBrgb(210, 113, 179)
HSLhsl(319, 52%, 63%)
OKLCHoklch(67.9% 0.145 340.6)

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 #D271B3 3.10:1 AA large text Lc -63.1 Content text, not long reading
Black text on #D271B3 6.75:1 AA Lc 46.3 Large or bold text, headings
#D271B3 text on white 3.10:1 AA large text Lc 57.7 Large or bold text, headings
#D271B3 text on black 6.75:1 AA Lc -44.0 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

    #F1CDE3

    oklch(88.5% 0.049 340.9)

  4. Step 300

    300

    #E9AAD3

    oklch(80.9% 0.091 340.1)

  5. Step 400

    400 (this color)

    #D271B3

    oklch(67.9% 0.145 340.6)

  6. Step 500

    500

    #CF53AB

    oklch(63.1% 0.185 340.6)

  7. Step 600

    600

    #BA3096

    oklch(55.5% 0.202 340.6)

  8. Step 700

    700

    #A02180

    oklch(49.1% 0.187 340.6)

  9. Step 800

    800

    #821F68

    oklch(42.7% 0.155 340.7)

  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

#D271B3 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)#7689B50.151
Deuteranopia (no green cones)#8F98B00.138
Tritanopia (no blue cones)#DC728A0.065
Achromatopsia (no color)#9292920.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #D271B3

    #D271B3

    oklch(67.9% 0.145 340.6)

  • #1FB379

    #1FB379

    oklch(68% 0.146 160.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D271B3

    #D271B3

    oklch(67.9% 0.145 340.6)

  • #B47CDA

    #B47CDA

    oklch(67.9% 0.146 310.5)

  • #E26E82

    #E26E82

    oklch(68% 0.145 10.9)

Open the analogous palette in the generator

Split complementary

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

  • #D271B3

    #D271B3

    oklch(67.9% 0.145 340.6)

  • #78A941

    #78A941

    oklch(67.8% 0.145 130.7)

  • #00AEA9

    #00AEA9

    oklch(67.8% 0.117 191.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D271B3

    #D271B3

    oklch(67.9% 0.145 340.6)

  • #AC9900

    #AC9900

    oklch(67.9% 0.141 100.5)

  • #00A9CD

    #00A9CD

    oklch(68% 0.124 220.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D271B3

    #D271B3

    oklch(67.9% 0.145 340.6)

  • #CF8607

    #CF8607

    oklch(67.9% 0.145 70.9)

  • #1FB379

    #1FB379

    oklch(68% 0.146 160.4)

  • #4A9CEE

    #4A9CEE

    oklch(67.9% 0.146 250.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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