#C170A6

Closest named color: Pale Magenta (#D767AD). oklch(65.1% 0.123 340.8), rgb(193, 112, 166).

Aa

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

About this color

#C170A6 is a medium-light, moderately saturated pink. In OKLCH its lightness is 65%, its chroma 0.123 and its hue 341°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.044 away. Black text reads best on it, at 6.13:1.

Hue familyPinks
Lightnessmedium-light (65%)
Chromamoderately saturated (0.123)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text6.13:1
White text3.42:1

Values

HEX#C170A6
RGBrgb(193, 112, 166)
HSLhsl(320, 40%, 60%)
OKLCHoklch(65.1% 0.123 340.8)

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 #C170A6 3.42:1 AA large text Lc -66.9 Content text, not long reading
Black text on #C170A6 6.13:1 AA Lc 42.6 Non-text elements, placeholder text
#C170A6 text on white 3.42:1 AA large text Lc 61.5 Content text, not long reading
#C170A6 text on black 6.13:1 AA Lc -40.2 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

    #F9F3F7

    oklch(97% 0.008 337.4)

  2. Step 100

    100

    #F2E6ED

    oklch(93.6% 0.016 341.4)

  3. Step 200

    200

    #E9D1E0

    oklch(88.5% 0.033 339.9)

  4. Step 300

    300

    #DCB2CC

    oklch(80.9% 0.059 340.9)

  5. Step 400

    400

    #C989B3

    oklch(70.7% 0.095 340.3)

  6. Step 500

    500 (this color)

    #C170A6

    oklch(65.1% 0.123 340.8)

  7. Step 600

    600

    #A5508B

    oklch(55.6% 0.133 340.4)

  8. Step 700

    700

    #8D4076

    oklch(49% 0.124 340.2)

  9. Step 800

    800

    #733660

    oklch(42.8% 0.102 340.6)

  10. Step 900

    900

    #5D2F4E

    oklch(37.6% 0.08 340.8)

  11. Step 950

    950

    #371C2E

    oklch(27.1% 0.051 340.8)

Export this scale for Tailwind in the Tailwind colors tool

#C170A6 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)#7483A80.126
Deuteranopia (no green cones)#898FA40.114
Tritanopia (no blue cones)#CA71840.054
Achromatopsia (no color)#8B8B8B0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #C170A6

    #C170A6

    oklch(65.1% 0.123 340.8)

  • #3AA676

    #3AA676

    oklch(65.1% 0.122 160.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C170A6

    #C170A6

    oklch(65.1% 0.123 340.8)

  • #A779C7

    #A779C7

    oklch(65.1% 0.123 310.4)

  • #CE6E7D

    #CE6E7D

    oklch(65.1% 0.122 11.1)

Open the analogous palette in the generator

Split complementary

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

  • #C170A6

    #C170A6

    oklch(65.1% 0.123 340.8)

  • #759E4A

    #759E4A

    oklch(65% 0.122 130.7)

  • #00A5A0

    #00A5A0

    oklch(65.2% 0.112 191)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C170A6

    #C170A6

    oklch(65.1% 0.123 340.8)

  • #A09127

    #A09127

    oklch(65.1% 0.122 100.9)

  • #009FC2

    #009FC2

    oklch(65% 0.119 220.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C170A6

    #C170A6

    oklch(65.1% 0.123 340.8)

  • #BE812D

    #BE812D

    oklch(65.1% 0.122 70.6)

  • #3AA676

    #3AA676

    oklch(65.1% 0.122 160.6)

  • #5294D7

    #5294D7

    oklch(65.2% 0.121 250.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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