#C170B7

Closest named color: Pale Magenta (#D767AD). oklch(65.8% 0.137 331.6), rgb(193, 112, 183).

Aa

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

About this color

#C170B7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 66%, its chroma 0.137 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.042 away. Black text reads best on it, at 6.26:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromamoderately saturated (0.137)
Temperaturein between
Nearest namePale Magenta (#D767AD)
Black text6.26:1
White text3.34:1

Values

HEX#C170B7
RGBrgb(193, 112, 183)
HSLhsl(307, 40%, 60%)
OKLCHoklch(65.8% 0.137 331.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 #C170B7 3.34:1 AA large text Lc -66.1 Content text, not long reading
Black text on #C170B7 6.26:1 AA Lc 43.4 Non-text elements, placeholder text
#C170B7 text on white 3.34:1 AA large text Lc 60.7 Content text, not long reading
#C170B7 text on black 6.26:1 AA Lc -41.0 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

    #F2E5F0

    oklch(93.5% 0.02 330.7)

  3. Step 200

    200

    #E8D1E4

    oklch(88.5% 0.036 331.6)

  4. Step 300

    300

    #DBB1D4

    oklch(80.8% 0.067 331.9)

  5. Step 400

    400

    #C887BF

    oklch(70.7% 0.108 331.6)

  6. Step 500

    500 (this color)

    #C170B7

    oklch(65.8% 0.137 331.6)

  7. Step 600

    600

    #A34D9A

    oklch(55.5% 0.149 331.5)

  8. Step 700

    700

    #8C3E83

    oklch(49.2% 0.138 332)

  9. Step 800

    800

    #71346B

    oklch(42.7% 0.114 331.2)

  10. Step 900

    900

    #5C2E57

    oklch(37.8% 0.089 331.3)

  11. Step 950

    950

    #361B33

    oklch(27% 0.057 331.2)

Export this scale for Tailwind in the Tailwind colors tool

#C170B7 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)#6E85BA0.133
Deuteranopia (no green cones)#8390B50.121
Tritanopia (no blue cones)#C7758B0.072
Achromatopsia (no color)#8C8C8C0.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #C170B7

    #C170B7

    oklch(65.8% 0.137 331.6)

  • #45A966

    #45A966

    oklch(65.9% 0.137 151.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C170B7

    #C170B7

    oklch(65.8% 0.137 331.6)

  • #A17CD7

    #A17CD7

    oklch(65.9% 0.136 301.5)

  • #D46A8C

    #D46A8C

    oklch(65.8% 0.138 1.3)

Open the analogous palette in the generator

Split complementary

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

  • #C170B7

    #C170B7

    oklch(65.8% 0.137 331.6)

  • #859E31

    #859E31

    oklch(65.9% 0.136 121.4)

  • #00A997

    #00A997

    oklch(65.9% 0.118 181.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C170B7

    #C170B7

    oklch(65.8% 0.137 331.6)

  • #B08E00

    #B08E00

    oklch(65.9% 0.135 91.7)

  • #00A4BA

    #00A4BA

    oklch(65.9% 0.115 211.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C170B7

    #C170B7

    oklch(65.8% 0.137 331.6)

  • #CC7C27

    #CC7C27

    oklch(65.9% 0.137 62)

  • #45A966

    #45A966

    oklch(65.9% 0.137 151.6)

  • #309ADD

    #309ADD

    oklch(65.8% 0.137 241.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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