#D162BA

Closest named color: Pale Magenta (#D767AD). oklch(65.9% 0.174 336), rgb(209, 98, 186).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-light (66%)
Chromavivid (0.174)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text6.16:1
White text3.40:1

Values

HEX#D162BA
RGBrgb(209, 98, 186)
HSLhsl(312, 55%, 60%)
OKLCHoklch(65.9% 0.174 336)

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 #D162BA 3.40:1 AA large text Lc -66.5 Content text, not long reading
Black text on #D162BA 6.16:1 AA Lc 43.0 Non-text elements, placeholder text
#D162BA text on white 3.40:1 AA large text Lc 61.0 Content text, not long reading
#D162BA text on black 6.16:1 AA Lc -40.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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F5E4F0

    oklch(93.6% 0.024 336.1)

  3. Step 200

    200

    #EECEE5

    oklch(88.5% 0.047 336)

  4. Step 300

    300

    #E4ACD6

    oklch(80.9% 0.085 335.6)

  5. Step 400

    400

    #D57EC1

    oklch(70.8% 0.136 336)

  6. Step 500

    500 (this color)

    #D162BA

    oklch(65.9% 0.174 336)

  7. Step 600

    600

    #B23A9C

    oklch(55.5% 0.189 336)

  8. Step 700

    700

    #992B86

    oklch(49.1% 0.176 335.8)

  9. Step 800

    800

    #7C266D

    oklch(42.7% 0.145 335.5)

  10. Step 900

    900

    #652558

    oklch(37.8% 0.113 336.3)

  11. Step 950

    950

    #3B1634

    oklch(26.9% 0.073 335.2)

Export this scale for Tailwind in the Tailwind colors tool

#D162BA 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)#6381BD0.181
Deuteranopia (no green cones)#8391B70.161
Tritanopia (no blue cones)#DA67860.085
Achromatopsia (no color)#8B8B8B0.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #D162BA

    #D162BA

    oklch(65.9% 0.174 336)

  • #00AE67

    #00AE67

    oklch(66% 0.16 156)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D162BA

    #D162BA

    oklch(65.9% 0.174 336)

  • #AD71E5

    #AD71E5

    oklch(66% 0.174 306.1)

  • #E55B82

    #E55B82

    oklch(65.9% 0.174 5.7)

Open the analogous palette in the generator

Split complementary

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

  • #D162BA

    #D162BA

    oklch(65.9% 0.174 336)

  • #79A300

    #79A300

    oklch(66% 0.168 125.9)

  • #00A89C

    #00A89C

    oklch(65.8% 0.115 185.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D162BA

    #D162BA

    oklch(65.9% 0.174 336)

  • #AB9000

    #AB9000

    oklch(65.8% 0.135 95.6)

  • #00A3BF

    #00A3BF

    oklch(65.9% 0.117 215.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D162BA

    #D162BA

    oklch(65.9% 0.174 336)

  • #CD7C00

    #CD7C00

    oklch(65.8% 0.147 65.8)

  • #00AE67

    #00AE67

    oklch(66% 0.16 156)

  • #0098F2

    #0098F2

    oklch(65.9% 0.17 246)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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