#BF17A8

Closest named color: Purpley Pink (#C83CB9). oklch(55.7% 0.236 335.3), rgb(191, 23, 168).

Aa

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

About this color

#BF17A8 is a medium-dark, vivid pink. In OKLCH its lightness is 56%, its chroma 0.236 and its hue 335°. Its hue sits on the warm side of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.050 away. White text reads best on it, at 5.38:1.

Hue familyPinks
Lightnessmedium-dark (56%)
Chromavivid (0.236)
Temperaturewarm
Nearest namePurpley Pink (#C83CB9)
Black text3.90:1
White text5.38:1

Values

HEX#BF17A8
RGBrgb(191, 23, 168)
HSLhsl(308, 79%, 42%)
OKLCHoklch(55.7% 0.236 335.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 #BF17A8 5.38:1 AA Lc -80.3 Fine for body text
Black text on #BF17A8 3.90:1 AA large text Lc 29.2 Dividers and decoration only
#BF17A8 text on white 5.38:1 AA Lc 74.9 Content text, not long reading
#BF17A8 text on black 3.90:1 AA large text Lc -26.8 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 600.

  1. Step 50

    50

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F8E3F2

    oklch(93.7% 0.03 335.9)

  3. Step 200

    200

    #F3CBE9

    oklch(88.5% 0.06 335)

  4. Step 300

    300

    #ECA6DC

    oklch(80.9% 0.107 335.1)

  5. Step 400

    400

    #DF73CA

    oklch(70.7% 0.17 335)

  6. Step 500

    500

    #D346BC

    oklch(63.1% 0.217 335)

  7. Step 600

    600 (this color)

    #BF17A8

    oklch(55.7% 0.236 335.3)

  8. Step 700

    700

    #A3008F

    oklch(49% 0.218 335.2)

  9. Step 800

    800

    #850B75

    oklch(42.7% 0.182 335)

  10. Step 900

    900

    #6B185E

    oklch(37.7% 0.141 335.2)

  11. Step 950

    950

    #3F1037

    oklch(26.9% 0.09 335.2)

Export this scale for Tailwind in the Tailwind colors tool

#BF17A8 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)#165BAB0.267
Deuteranopia (no green cones)#5D73A40.222
Tritanopia (no blue cones)#C92C640.119
Achromatopsia (no color)#6A6A6A0.239

Harmonies

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

Complementary

The opposite hue (180°).

  • #BF17A8

    #BF17A8

    oklch(55.7% 0.236 335.3)

  • #008A4F

    #008A4F

    oklch(55.7% 0.136 155.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BF17A8

    #BF17A8

    oklch(55.7% 0.236 335.3)

  • #9639DF

    #9639DF

    oklch(55.8% 0.237 305.3)

  • #D30061

    #D30061

    oklch(55.7% 0.224 5.4)

Open the analogous palette in the generator

Split complementary

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

  • #BF17A8

    #BF17A8

    oklch(55.7% 0.236 335.3)

  • #608100

    #608100

    oklch(55.7% 0.141 125.5)

  • #00867B

    #00867B

    oklch(55.7% 0.098 184.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BF17A8

    #BF17A8

    oklch(55.7% 0.236 335.3)

  • #897200

    #897200

    oklch(55.8% 0.114 94.9)

  • #008298

    #008298

    oklch(55.8% 0.099 215.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BF17A8

    #BF17A8

    oklch(55.7% 0.236 335.3)

  • #A46200

    #A46200

    oklch(55.8% 0.124 65.7)

  • #008A4F

    #008A4F

    oklch(55.7% 0.136 155.4)

  • #0079C0

    #0079C0

    oklch(55.7% 0.141 245.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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