#D162A7

Closest named color: Pale Magenta (#D767AD). oklch(65.2% 0.161 344.3), rgb(209, 98, 167).

Aa

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

About this color

#D162A7 is a medium-light, vivid pink. In OKLCH its lightness is 65%, its chroma 0.161 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.017 away. Black text reads best on it, at 6.01:1.

Hue familyPinks
Lightnessmedium-light (65%)
Chromavivid (0.161)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text6.01:1
White text3.49:1

Values

HEX#D162A7
RGBrgb(209, 98, 167)
HSLhsl(323, 55%, 60%)
OKLCHoklch(65.2% 0.161 344.3)

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 #D162A7 3.49:1 AA large text Lc -67.4 Content text, not long reading
Black text on #D162A7 6.01:1 AA Lc 42.1 Non-text elements, placeholder text
#D162A7 text on white 3.49:1 AA large text Lc 62.0 Content text, not long reading
#D162A7 text on black 6.01:1 AA Lc -39.7 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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F6E4ED

    oklch(93.6% 0.023 345.8)

  3. Step 200

    200

    #EFCEE0

    oklch(88.4% 0.044 344)

  4. Step 300

    300

    #E6ADCD

    oklch(81% 0.078 344.3)

  5. Step 400

    400

    #D77FB3

    oklch(70.6% 0.126 344.5)

  6. Step 500

    500 (this color)

    #D162A7

    oklch(65.2% 0.161 344.3)

  7. Step 600

    600

    #B53E8B

    oklch(55.6% 0.174 344.5)

  8. Step 700

    700

    #9B2F76

    oklch(49% 0.162 344.4)

  9. Step 800

    800

    #7E2860

    oklch(42.6% 0.135 344.3)

  10. Step 900

    900

    #66264F

    oklch(37.7% 0.105 344)

  11. Step 950

    950

    #3C172E

    oklch(26.9% 0.067 344.3)

Export this scale for Tailwind in the Tailwind colors tool

#D162A7 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)#6B7EA90.172
Deuteranopia (no green cones)#8990A40.155
Tritanopia (no blue cones)#DD617D0.066
Achromatopsia (no color)#8989890.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #D162A7

    #D162A7

    oklch(65.2% 0.161 344.3)

  • #00A979

    #00A979

    oklch(65.1% 0.138 164.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D162A7

    #D162A7

    oklch(65.2% 0.161 344.3)

  • #B36ED3

    #B36ED3

    oklch(65.2% 0.16 314.2)

  • #E05F71

    #E05F71

    oklch(65.2% 0.161 14.2)

Open the analogous palette in the generator

Split complementary

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

  • #D162A7

    #D162A7

    oklch(65.2% 0.161 344.3)

  • #63A431

    #63A431

    oklch(65.2% 0.161 134.4)

  • #00A4A4

    #00A4A4

    oklch(65.1% 0.111 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D162A7

    #D162A7

    oklch(65.2% 0.161 344.3)

  • #9E9300

    #9E9300

    oklch(65.2% 0.138 104.2)

  • #009FC7

    #009FC7

    oklch(65.3% 0.123 224)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D162A7

    #D162A7

    oklch(65.2% 0.161 344.3)

  • #C08100

    #C08100

    oklch(65.1% 0.138 74.7)

  • #00A979

    #00A979

    oklch(65.1% 0.138 164.4)

  • #4091EF

    #4091EF

    oklch(65.2% 0.161 254.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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