#C171AA

Closest named color: Pale Magenta (#D767AD). oklch(65.4% 0.124 338.6), rgb(193, 113, 170).

Aa

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

About this color

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

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

Values

HEX#C171AA
RGBrgb(193, 113, 170)
HSLhsl(317, 39%, 60%)
OKLCHoklch(65.4% 0.124 338.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 #C171AA 3.38:1 AA large text Lc -66.5 Content text, not long reading
Black text on #C171AA 6.20:1 AA Lc 43.0 Non-text elements, placeholder text
#C171AA text on white 3.38:1 AA large text Lc 61.0 Content text, not long reading
#C171AA text on black 6.20:1 AA Lc -40.7 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

    #F2E6EE

    oklch(93.7% 0.017 337.6)

  3. Step 200

    200

    #E9D1E1

    oklch(88.5% 0.034 338)

  4. Step 300

    300

    #DCB2CE

    oklch(80.9% 0.061 338.7)

  5. Step 400

    400

    #C989B5

    oklch(70.8% 0.097 338.9)

  6. Step 500

    500 (this color)

    #C171AA

    oklch(65.4% 0.124 338.6)

  7. Step 600

    600

    #A4508E

    oklch(55.6% 0.135 338.2)

  8. Step 700

    700

    #8D4078

    oklch(49.1% 0.126 339)

  9. Step 800

    800

    #723662

    oklch(42.7% 0.103 338.4)

  10. Step 900

    900

    #5D2F50

    oklch(37.7% 0.081 338.8)

  11. Step 950

    950

    #361C2F

    oklch(27% 0.051 337.7)

Export this scale for Tailwind in the Tailwind colors tool

#C171AA 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)#7384AC0.127
Deuteranopia (no green cones)#8890A80.115
Tritanopia (no blue cones)#C973860.058
Achromatopsia (no color)#8C8C8C0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #C171AA

    #C171AA

    oklch(65.4% 0.124 338.6)

  • #3FA774

    #3FA774

    oklch(65.4% 0.123 158.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C171AA

    #C171AA

    oklch(65.4% 0.124 338.6)

  • #A67ACA

    #A67ACA

    oklch(65.4% 0.124 308.6)

  • #CF6E81

    #CF6E81

    oklch(65.4% 0.123 8.6)

Open the analogous palette in the generator

Split complementary

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

  • #C171AA

    #C171AA

    oklch(65.4% 0.124 338.6)

  • #799F47

    #799F47

    oklch(65.5% 0.125 128.8)

  • #00A69E

    #00A69E

    oklch(65.4% 0.113 188.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C171AA

    #C171AA

    oklch(65.4% 0.124 338.6)

  • #A49124

    #A49124

    oklch(65.5% 0.124 98.8)

  • #00A1C1

    #00A1C1

    oklch(65.5% 0.118 218.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C171AA

    #C171AA

    oklch(65.4% 0.124 338.6)

  • #C1812E

    #C1812E

    oklch(65.5% 0.124 68.9)

  • #3FA774

    #3FA774

    oklch(65.4% 0.123 158.6)

  • #4D96D8

    #4D96D8

    oklch(65.5% 0.123 248.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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