#C170AC

Closest named color: Pale Magenta (#D767AD). oklch(65.4% 0.127 337.3), rgb(193, 112, 172).

Aa

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

About this color

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

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

Values

HEX#C170AC
RGBrgb(193, 112, 172)
HSLhsl(316, 40%, 60%)
OKLCHoklch(65.4% 0.127 337.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 #C170AC 3.39:1 AA large text Lc -66.7 Content text, not long reading
Black text on #C170AC 6.18:1 AA Lc 42.9 Non-text elements, placeholder text
#C170AC text on white 3.39:1 AA large text Lc 61.2 Content text, not long reading
#C170AC text on black 6.18:1 AA Lc -40.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

    #F9F3F7

    oklch(97% 0.008 337.4)

  2. Step 100

    100

    #F2E5EE

    oklch(93.5% 0.018 336.6)

  3. Step 200

    200

    #E9D1E1

    oklch(88.5% 0.034 338)

  4. Step 300

    300

    #DCB2CF

    oklch(81% 0.062 337.7)

  5. Step 400

    400

    #C988B7

    oklch(70.7% 0.1 337.3)

  6. Step 500

    500 (this color)

    #C170AC

    oklch(65.4% 0.127 337.3)

  7. Step 600

    600

    #A54F90

    oklch(55.6% 0.139 337.5)

  8. Step 700

    700

    #8D407A

    oklch(49.2% 0.128 337.8)

  9. Step 800

    800

    #723564

    oklch(42.7% 0.106 336.8)

  10. Step 900

    900

    #5D2F51

    oklch(37.8% 0.082 337.8)

  11. Step 950

    950

    #371C30

    oklch(27.1% 0.053 337.3)

Export this scale for Tailwind in the Tailwind colors tool

#C170AC 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)#7284AE0.129
Deuteranopia (no green cones)#8790AA0.118
Tritanopia (no blue cones)#C973860.062
Achromatopsia (no color)#8B8B8B0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #C170AC

    #C170AC

    oklch(65.4% 0.127 337.3)

  • #3DA771

    #3DA771

    oklch(65.3% 0.127 157.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C170AC

    #C170AC

    oklch(65.4% 0.127 337.3)

  • #A57ACC

    #A57ACC

    oklch(65.4% 0.127 307.4)

  • #D06D82

    #D06D82

    oklch(65.4% 0.126 7.7)

Open the analogous palette in the generator

Split complementary

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

  • #C170AC

    #C170AC

    oklch(65.4% 0.127 337.3)

  • #7B9E42

    #7B9E42

    oklch(65.3% 0.127 127.1)

  • #00A69C

    #00A69C

    oklch(65.3% 0.114 187.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C170AC

    #C170AC

    oklch(65.4% 0.127 337.3)

  • #A6901C

    #A6901C

    oklch(65.4% 0.127 97.4)

  • #00A1BF

    #00A1BF

    oklch(65.4% 0.117 217.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C170AC

    #C170AC

    oklch(65.4% 0.127 337.3)

  • #C37F2B

    #C37F2B

    oklch(65.3% 0.127 67.1)

  • #3DA771

    #3DA771

    oklch(65.3% 0.127 157.5)

  • #4896D9

    #4896D9

    oklch(65.4% 0.126 247.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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