#D161B4

Closest named color: Pale Magenta (#D767AD). oklch(65.6% 0.171 338.4), rgb(209, 97, 180).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-light (66%)
Chromavivid (0.171)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text6.07:1
White text3.45:1

Values

HEX#D161B4
RGBrgb(209, 97, 180)
HSLhsl(316, 55%, 60%)
OKLCHoklch(65.6% 0.171 338.4)

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 #D161B4 3.45:1 AA large text Lc -67.0 Content text, not long reading
Black text on #D161B4 6.07:1 AA Lc 42.5 Non-text elements, placeholder text
#D161B4 text on white 3.45:1 AA large text Lc 61.5 Content text, not long reading
#D161B4 text on black 6.07:1 AA Lc -40.2 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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F5E4EF

    oklch(93.6% 0.023 338.6)

  3. Step 200

    200

    #EFCEE4

    oklch(88.6% 0.047 338.3)

  4. Step 300

    300

    #E5ACD3

    oklch(80.9% 0.084 338.4)

  5. Step 400

    400

    #D67EBD

    oklch(70.7% 0.134 338.4)

  6. Step 500

    500 (this color)

    #D161B4

    oklch(65.6% 0.171 338.4)

  7. Step 600

    600

    #B43B98

    oklch(55.7% 0.186 338.3)

  8. Step 700

    700

    #9A2B81

    oklch(49% 0.173 338.4)

  9. Step 800

    800

    #7D2669

    oklch(42.6% 0.143 338.3)

  10. Step 900

    900

    #652555

    oklch(37.7% 0.111 338.5)

  11. Step 950

    950

    #3C1732

    oklch(27.1% 0.07 338.9)

Export this scale for Tailwind in the Tailwind colors tool

#D161B4 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)#657FB70.179
Deuteranopia (no green cones)#8590B10.159
Tritanopia (no blue cones)#DB64820.080
Achromatopsia (no color)#8A8A8A0.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #D161B4

    #D161B4

    oklch(65.6% 0.171 338.4)

  • #00AC6D

    #00AC6D

    oklch(65.6% 0.152 158.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D161B4

    #D161B4

    oklch(65.6% 0.171 338.4)

  • #AE6FE0

    #AE6FE0

    oklch(65.5% 0.172 308.1)

  • #E45B7C

    #E45B7C

    oklch(65.6% 0.172 8.3)

Open the analogous palette in the generator

Split complementary

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

  • #D161B4

    #D161B4

    oklch(65.6% 0.171 338.4)

  • #71A304

    #71A304

    oklch(65.5% 0.171 128.3)

  • #00A79E

    #00A79E

    oklch(65.6% 0.114 188)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D161B4

    #D161B4

    oklch(65.6% 0.171 338.4)

  • #A79100

    #A79100

    oklch(65.6% 0.136 98.4)

  • #00A1C1

    #00A1C1

    oklch(65.5% 0.118 218.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D161B4

    #D161B4

    oklch(65.6% 0.171 338.4)

  • #C97D00

    #C97D00

    oklch(65.5% 0.144 68.1)

  • #00AC6D

    #00AC6D

    oklch(65.6% 0.152 158.5)

  • #1795F3

    #1795F3

    oklch(65.5% 0.172 248.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #D161B4.

Similar named colors

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

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