#C170B6

Closest named color: Pale Magenta (#D767AD). oklch(65.8% 0.136 332.1), rgb(193, 112, 182).

Aa

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

About this color

#C170B6 is a medium-light, moderately saturated purple. In OKLCH its lightness is 66%, its chroma 0.136 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.136)
Temperaturein between
Nearest namePale Magenta (#D767AD)
Black text6.26:1
White text3.35:1

Values

HEX#C170B6
RGBrgb(193, 112, 182)
HSLhsl(308, 40%, 60%)
OKLCHoklch(65.8% 0.136 332.1)

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 #C170B6 3.35:1 AA large text Lc -66.2 Content text, not long reading
Black text on #C170B6 6.26:1 AA Lc 43.4 Non-text elements, placeholder text
#C170B6 text on white 3.35:1 AA large text Lc 60.7 Content text, not long reading
#C170B6 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

    #E9D1E4

    oklch(88.6% 0.037 332.9)

  4. Step 300

    300

    #DBB1D4

    oklch(80.8% 0.067 331.9)

  5. Step 400

    400

    #C887BE

    oklch(70.7% 0.107 332.2)

  6. Step 500

    500 (this color)

    #C170B6

    oklch(65.8% 0.136 332.1)

  7. Step 600

    600

    #A34E99

    oklch(55.6% 0.147 332)

  8. Step 700

    700

    #8C3E83

    oklch(49.2% 0.138 332)

  9. Step 800

    800

    #72346A

    oklch(42.8% 0.113 332.5)

  10. Step 900

    900

    #5C2E56

    oklch(37.7% 0.088 332.2)

  11. Step 950

    950

    #361B32

    oklch(26.9% 0.056 332.6)

Export this scale for Tailwind in the Tailwind colors tool

#C170B6 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)#6E85B90.133
Deuteranopia (no green cones)#8390B40.121
Tritanopia (no blue cones)#C7758B0.071
Achromatopsia (no color)#8C8C8C0.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #C170B6

    #C170B6

    oklch(65.8% 0.136 332.1)

  • #44A967

    #44A967

    oklch(65.8% 0.136 152.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C170B6

    #C170B6

    oklch(65.8% 0.136 332.1)

  • #A17CD6

    #A17CD6

    oklch(65.8% 0.135 301.8)

  • #D46B8B

    #D46B8B

    oklch(65.9% 0.136 2.2)

Open the analogous palette in the generator

Split complementary

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

  • #C170B6

    #C170B6

    oklch(65.8% 0.136 332.1)

  • #849E33

    #849E33

    oklch(65.8% 0.135 122)

  • #00A897

    #00A897

    oklch(65.7% 0.117 182.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C170B6

    #C170B6

    oklch(65.8% 0.136 332.1)

  • #AF8E00

    #AF8E00

    oklch(65.8% 0.135 92.2)

  • #00A3BA

    #00A3BA

    oklch(65.7% 0.115 212.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C170B6

    #C170B6

    oklch(65.8% 0.136 332.1)

  • #CB7C28

    #CB7C28

    oklch(65.7% 0.135 62.2)

  • #44A967

    #44A967

    oklch(65.8% 0.136 152.1)

  • #339ADD

    #339ADD

    oklch(65.9% 0.136 242.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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