#C170AF

Closest named color: Pale Magenta (#D767AD). oklch(65.5% 0.13 335.7), rgb(193, 112, 175).

Aa

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

About this color

#C170AF is a medium-light, moderately saturated pink. In OKLCH its lightness is 65%, its chroma 0.130 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.20:1.

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

Values

HEX#C170AF
RGBrgb(193, 112, 175)
HSLhsl(313, 40%, 60%)
OKLCHoklch(65.5% 0.13 335.7)

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 #C170AF 3.38:1 AA large text Lc -66.5 Content text, not long reading
Black text on #C170AF 6.20:1 AA Lc 43.0 Non-text elements, placeholder text
#C170AF text on white 3.38:1 AA large text Lc 61.1 Content text, not long reading
#C170AF text on black 6.20:1 AA Lc -40.6 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

    #F2E5EF

    oklch(93.5% 0.019 333.5)

  3. Step 200

    200

    #E9D1E2

    oklch(88.5% 0.035 336.2)

  4. Step 300

    300

    #DCB2D1

    oklch(81% 0.063 335.6)

  5. Step 400

    400

    #C888B9

    oklch(70.6% 0.101 335.4)

  6. Step 500

    500 (this color)

    #C170AF

    oklch(65.5% 0.13 335.7)

  7. Step 600

    600

    #A44F93

    oklch(55.6% 0.141 335.5)

  8. Step 700

    700

    #8C3F7D

    oklch(49% 0.131 335.4)

  9. Step 800

    800

    #723566

    oklch(42.8% 0.108 335.3)

  10. Step 900

    900

    #5D2E53

    oklch(37.7% 0.086 335.7)

  11. Step 950

    950

    #361C30

    oklch(27% 0.052 336)

Export this scale for Tailwind in the Tailwind colors tool

#C170AF 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)#7184B10.130
Deuteranopia (no green cones)#8690AD0.118
Tritanopia (no blue cones)#C873880.063
Achromatopsia (no color)#8B8B8B0.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #C170AF

    #C170AF

    oklch(65.5% 0.13 335.7)

  • #3FA86E

    #3FA86E

    oklch(65.6% 0.13 155.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C170AF

    #C170AF

    oklch(65.5% 0.13 335.7)

  • #A47ACF

    #A47ACF

    oklch(65.4% 0.13 305.9)

  • #D16C85

    #D16C85

    oklch(65.5% 0.129 5.6)

Open the analogous palette in the generator

Split complementary

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

  • #C170AF

    #C170AF

    oklch(65.5% 0.13 335.7)

  • #7D9E3E

    #7D9E3E

    oklch(65.4% 0.13 125.8)

  • #00A79B

    #00A79B

    oklch(65.5% 0.115 185.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C170AF

    #C170AF

    oklch(65.5% 0.13 335.7)

  • #A98F15

    #A98F15

    oklch(65.5% 0.13 95.4)

  • #00A2BD

    #00A2BD

    oklch(65.6% 0.116 215.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C170AF

    #C170AF

    oklch(65.5% 0.13 335.7)

  • #C67E2A

    #C67E2A

    oklch(65.5% 0.13 65.3)

  • #3FA86E

    #3FA86E

    oklch(65.6% 0.13 155.7)

  • #4297DA

    #4297DA

    oklch(65.4% 0.129 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 #C170AF, closest first.

Similar named colors

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

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