#C17FB2

Closest named color: Dusty Lavender (#AC86A8). oklch(68.1% 0.105 335.3), rgb(193, 127, 178).

Aa

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

About this color

#C17FB2 is a medium-light, moderately saturated pink. In OKLCH its lightness is 68%, its chroma 0.105 and its hue 335°. Its hue sits on the warm side of the wheel. The nearest named color is Dusty Lavender (#AC86A8), ΔE 0.042 away. Black text reads best on it, at 6.94:1.

Hue familyPinks
Lightnessmedium-light (68%)
Chromamoderately saturated (0.105)
Temperaturewarm
Nearest nameDusty Lavender (#AC86A8)
Black text6.94:1
White text3.02:1

Values

HEX#C17FB2
RGBrgb(193, 127, 178)
HSLhsl(314, 35%, 63%)
OKLCHoklch(68.1% 0.105 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 #C17FB2 3.02:1 AA large text Lc -62.2 Content text, not long reading
Black text on #C17FB2 6.94:1 AA Lc 47.2 Large or bold text, headings
#C17FB2 text on white 3.02:1 AA large text Lc 56.8 Large or bold text, headings
#C17FB2 text on black 6.94:1 AA Lc -44.9 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 400.

  1. Step 50

    50

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F3E5EF

    oklch(93.6% 0.02 335.7)

  3. Step 200

    200

    #E9D0E3

    oklch(88.4% 0.037 334.2)

  4. Step 300

    300

    #DCB1D1

    oklch(80.8% 0.065 335.4)

  5. Step 400

    400 (this color)

    #C17FB2

    oklch(68.1% 0.105 335.3)

  6. Step 500

    500

    #BA67A9

    oklch(63% 0.135 335.1)

  7. Step 600

    600

    #A64D94

    oklch(55.7% 0.146 335.7)

  8. Step 700

    700

    #8E3D7E

    oklch(49.1% 0.137 335.7)

  9. Step 800

    800

    #733367

    oklch(42.7% 0.113 335.1)

  10. Step 900

    900

    #5D2D54

    oklch(37.6% 0.089 334.7)

  11. Step 950

    950

    #371B31

    oklch(27% 0.056 335.5)

Export this scale for Tailwind in the Tailwind colors tool

#C17FB2 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)#7F8EB40.104
Deuteranopia (no green cones)#9098B00.096
Tritanopia (no blue cones)#C782910.053
Achromatopsia (no color)#9494940.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #C17FB2

    #C17FB2

    oklch(68.1% 0.105 335.3)

  • #5EAC7C

    #5EAC7C

    oklch(68.1% 0.106 155.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C17FB2

    #C17FB2

    oklch(68.1% 0.105 335.3)

  • #A887CD

    #A887CD

    oklch(68% 0.107 305.4)

  • #CF7C8F

    #CF7C8F

    oklch(68% 0.105 5.5)

Open the analogous palette in the generator

Split complementary

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

  • #C17FB2

    #C17FB2

    oklch(68.1% 0.105 335.3)

  • #89A459

    #89A459

    oklch(68% 0.106 125.3)

  • #35ADA1

    #35ADA1

    oklch(68% 0.105 185.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C17FB2

    #C17FB2

    oklch(68.1% 0.105 335.3)

  • #AD9845

    #AD9845

    oklch(68.2% 0.106 95.2)

  • #36A9C1

    #36A9C1

    oklch(68.2% 0.105 214.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C17FB2

    #C17FB2

    oklch(68.1% 0.105 335.3)

  • #C58A4E

    #C58A4E

    oklch(68% 0.105 64.9)

  • #5EAC7C

    #5EAC7C

    oklch(68.1% 0.106 155.3)

  • #5D9FD5

    #5D9FD5

    oklch(68.1% 0.105 244.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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