#C171AF

Closest named color: Pale Magenta (#D767AD). oklch(65.6% 0.128 335.8), rgb(193, 113, 175).

Aa

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

About this color

#C171AF is a medium-light, moderately saturated pink. In OKLCH its lightness is 66%, its chroma 0.128 and its hue 336°. 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.24:1.

Hue familyPinks
Lightnessmedium-light (66%)
Chromamoderately saturated (0.128)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text6.24:1
White text3.36:1

Values

HEX#C171AF
RGBrgb(193, 113, 175)
HSLhsl(313, 39%, 60%)
OKLCHoklch(65.6% 0.128 335.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 #C171AF 3.36:1 AA large text Lc -66.3 Content text, not long reading
Black text on #C171AF 6.24:1 AA Lc 43.3 Non-text elements, placeholder text
#C171AF text on white 3.36:1 AA large text Lc 60.8 Content text, not long reading
#C171AF text on black 6.24:1 AA Lc -40.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 500.

  1. Step 50

    50

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E6EE

    oklch(93.7% 0.017 337.6)

  3. Step 200

    200

    #E9D1E2

    oklch(88.5% 0.035 336.2)

  4. Step 300

    300

    #DBB2D0

    oklch(80.9% 0.062 335.9)

  5. Step 400

    400

    #C888B9

    oklch(70.6% 0.101 335.4)

  6. Step 500

    500 (this color)

    #C171AF

    oklch(65.6% 0.128 335.8)

  7. Step 600

    600

    #A44F92

    oklch(55.6% 0.14 336)

  8. Step 700

    700

    #8C407C

    oklch(49.1% 0.128 336.1)

  9. Step 800

    800

    #723565

    oklch(42.7% 0.107 336)

  10. Step 900

    900

    #5C2F52

    oklch(37.7% 0.082 336)

  11. Step 950

    950

    #361C30

    oklch(27% 0.052 336)

Export this scale for Tailwind in the Tailwind colors tool

#C171AF 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)#7285B10.128
Deuteranopia (no green cones)#8690AD0.117
Tritanopia (no blue cones)#C874880.063
Achromatopsia (no color)#8C8C8C0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #C171AF

    #C171AF

    oklch(65.6% 0.128 335.8)

  • #42A86F

    #42A86F

    oklch(65.7% 0.128 155.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C171AF

    #C171AF

    oklch(65.6% 0.128 335.8)

  • #A47BCF

    #A47BCF

    oklch(65.6% 0.128 305.6)

  • #D16D85

    #D16D85

    oklch(65.6% 0.128 6)

Open the analogous palette in the generator

Split complementary

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

  • #C171AF

    #C171AF

    oklch(65.6% 0.128 335.8)

  • #7E9F40

    #7E9F40

    oklch(65.7% 0.129 125.9)

  • #00A79B

    #00A79B

    oklch(65.5% 0.115 185.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C171AF

    #C171AF

    oklch(65.6% 0.128 335.8)

  • #A9901B

    #A9901B

    oklch(65.7% 0.128 95.8)

  • #00A2BE

    #00A2BE

    oklch(65.6% 0.116 215.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C171AF

    #C171AF

    oklch(65.6% 0.128 335.8)

  • #C57F2D

    #C57F2D

    oklch(65.6% 0.128 65.8)

  • #42A86F

    #42A86F

    oklch(65.7% 0.128 155.7)

  • #4598DA

    #4598DA

    oklch(65.8% 0.127 245.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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