#B170A2

Closest named color: Soft Purple (#A66FB5). oklch(63.1% 0.105 335.6), rgb(177, 112, 162).

Aa

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

About this color

#B170A2 is a medium-light, moderately saturated pink. In OKLCH its lightness is 63%, its chroma 0.105 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.036 away. Black text reads best on it, at 5.70:1.

Hue familyPinks
Lightnessmedium-light (63%)
Chromamoderately saturated (0.105)
Temperaturewarm
Nearest nameSoft Purple (#A66FB5)
Black text5.70:1
White text3.67:1

Values

HEX#B170A2
RGBrgb(177, 112, 162)
HSLhsl(314, 29%, 57%)
OKLCHoklch(63.1% 0.105 335.6)

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 #B170A2 3.67:1 AA large text Lc -69.7 Content text, not long reading
Black text on #B170A2 5.70:1 AA Lc 39.9 Non-text elements, placeholder text
#B170A2 text on white 3.67:1 AA large text Lc 64.2 Content text, not long reading
#B170A2 text on black 5.70:1 AA Lc -37.5 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

    #F9F4F7

    oklch(97.2% 0.007 340.4)

  2. Step 100

    100

    #F1E6EE

    oklch(93.6% 0.016 335.1)

  3. Step 200

    200

    #E6D2E0

    oklch(88.4% 0.029 336.5)

  4. Step 300

    300

    #D7B5CE

    oklch(81% 0.051 335.5)

  5. Step 400

    400

    #C28DB5

    oklch(70.7% 0.083 335.5)

  6. Step 500

    500 (this color)

    #B170A2

    oklch(63.1% 0.105 335.6)

  7. Step 600

    600

    #9C578D

    oklch(55.5% 0.115 335.6)

  8. Step 700

    700

    #854778

    oklch(49.1% 0.107 335.4)

  9. Step 800

    800

    #6C3B62

    oklch(42.7% 0.088 335)

  10. Step 900

    900

    #583350

    oklch(37.8% 0.069 335.2)

  11. Step 950

    950

    #341E2F

    oklch(27.1% 0.044 335.4)

Export this scale for Tailwind in the Tailwind colors tool

#B170A2 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)#707FA40.105
Deuteranopia (no green cones)#8189A00.096
Tritanopia (no blue cones)#B772820.052
Achromatopsia (no color)#8585850.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #B170A2

    #B170A2

    oklch(63.1% 0.105 335.6)

  • #4E9C6E

    #4E9C6E

    oklch(63% 0.105 155.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B170A2

    #B170A2

    oklch(63.1% 0.105 335.6)

  • #9978BC

    #9978BC

    oklch(63% 0.106 305.9)

  • #BF6D80

    #BF6D80

    oklch(63.1% 0.106 5.7)

Open the analogous palette in the generator

Split complementary

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

  • #B170A2

    #B170A2

    oklch(63.1% 0.105 335.6)

  • #7A954B

    #7A954B

    oklch(63.2% 0.105 125.8)

  • #1C9E92

    #1C9E92

    oklch(63.1% 0.106 185.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B170A2

    #B170A2

    oklch(63.1% 0.105 335.6)

  • #9D8935

    #9D8935

    oklch(63.2% 0.106 95.8)

  • #1E99B2

    #1E99B2

    oklch(63.1% 0.106 215.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B170A2

    #B170A2

    oklch(63.1% 0.105 335.6)

  • #B57B3E

    #B57B3E

    oklch(63% 0.106 65.1)

  • #4E9C6E

    #4E9C6E

    oklch(63% 0.105 155.9)

  • #4E8FC5

    #4E8FC5

    oklch(63% 0.106 245.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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