#AD1F8E

Closest named color: Warm Purple (#952E8F). oklch(51.8% 0.205 339.1), rgb(173, 31, 142).

Aa

White text reads best on this color (6.24:1).

About this color

#AD1F8E is a medium-dark, vivid pink. In OKLCH its lightness is 52%, its chroma 0.205 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.048 away. White text reads best on it, at 6.24:1.

Hue familyPinks
Lightnessmedium-dark (52%)
Chromavivid (0.205)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text3.36:1
White text6.24:1

Values

HEX#AD1F8E
RGBrgb(173, 31, 142)
HSLhsl(313, 70%, 40%)
OKLCHoklch(51.8% 0.205 339.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 #AD1F8E 6.24:1 AA Lc -84.8 Fine for body text
Black text on #AD1F8E 3.36:1 AA large text Lc 24.5 Dividers and decoration only
#AD1F8E text on white 6.24:1 AA Lc 79.6 Fine for body text
#AD1F8E text on black 3.36:1 AA large text Lc -22.2 Dividers and decoration only

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 700.

  1. Step 50

    50

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F8E3F0

    oklch(93.6% 0.028 340)

  3. Step 200

    200

    #F3CCE5

    oklch(88.6% 0.055 339.6)

  4. Step 300

    300

    #ECA8D6

    oklch(81% 0.099 339.1)

  5. Step 400

    400

    #DF75C1

    oklch(70.6% 0.16 339)

  6. Step 500

    500

    #D34BB1

    oklch(63.1% 0.203 339)

  7. Step 600

    600

    #BE239C

    oklch(55.5% 0.22 339.2)

  8. Step 700

    700 (this color)

    #AD1F8E

    oklch(51.8% 0.205 339.1)

  9. Step 800

    800

    #85156D

    oklch(42.7% 0.17 338.9)

  10. Step 900

    900

    #6B1B58

    oklch(37.6% 0.133 339)

  11. Step 950

    950

    #3F1234

    oklch(27% 0.084 338.5)

Export this scale for Tailwind in the Tailwind colors tool

#AD1F8E 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)#2953910.230
Deuteranopia (no green cones)#5B688B0.194
Tritanopia (no blue cones)#B727560.097
Achromatopsia (no color)#6060600.207

Harmonies

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

Complementary

The opposite hue (180°).

  • #AD1F8E

    #AD1F8E

    oklch(51.8% 0.205 339.1)

  • #007C4F

    #007C4F

    oklch(51.7% 0.118 159.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AD1F8E

    #AD1F8E

    oklch(51.8% 0.205 339.1)

  • #8B37BF

    #8B37BF

    oklch(51.9% 0.205 309.2)

  • #C0054F

    #C0054F

    oklch(51.8% 0.205 9.1)

Open the analogous palette in the generator

Split complementary

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

  • #AD1F8E

    #AD1F8E

    oklch(51.8% 0.205 339.1)

  • #4F7700

    #4F7700

    oklch(52% 0.138 129.1)

  • #007973

    #007973

    oklch(51.9% 0.09 188.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AD1F8E

    #AD1F8E

    oklch(51.8% 0.205 339.1)

  • #786900

    #786900

    oklch(51.9% 0.108 99.4)

  • #00758D

    #00758D

    oklch(52% 0.094 218.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AD1F8E

    #AD1F8E

    oklch(51.8% 0.205 339.1)

  • #915A00

    #915A00

    oklch(51.7% 0.113 69.1)

  • #007C4F

    #007C4F

    oklch(51.7% 0.118 159.4)

  • #006BB6

    #006BB6

    oklch(51.8% 0.143 249.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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