#C170AB

Closest named color: Pale Magenta (#D767AD). oklch(65.3% 0.126 337.9), rgb(193, 112, 171).

Aa

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

About this color

#C170AB is a medium-light, moderately saturated pink. In OKLCH its lightness is 65%, its chroma 0.126 and its hue 338°. 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.17:1.

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

Values

HEX#C170AB
RGBrgb(193, 112, 171)
HSLhsl(316, 40%, 60%)
OKLCHoklch(65.3% 0.126 337.9)

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 #C170AB 3.40:1 AA large text Lc -66.7 Content text, not long reading
Black text on #C170AB 6.17:1 AA Lc 42.8 Non-text elements, placeholder text
#C170AB text on white 3.40:1 AA large text Lc 61.3 Content text, not long reading
#C170AB text on black 6.17:1 AA Lc -40.4 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

    #F2E5EE

    oklch(93.5% 0.018 336.6)

  3. Step 200

    200

    #E9D1E1

    oklch(88.5% 0.034 338)

  4. Step 300

    300

    #DCB2CF

    oklch(81% 0.062 337.7)

  5. Step 400

    400

    #C988B6

    oklch(70.6% 0.099 338)

  6. Step 500

    500 (this color)

    #C170AB

    oklch(65.3% 0.126 337.9)

  7. Step 600

    600

    #A54F8F

    oklch(55.6% 0.138 338)

  8. Step 700

    700

    #8D407A

    oklch(49.2% 0.128 337.8)

  9. Step 800

    800

    #733563

    oklch(42.8% 0.106 338.1)

  10. Step 900

    900

    #5D2F51

    oklch(37.8% 0.082 337.8)

  11. Step 950

    950

    #371C2F

    oklch(27.1% 0.052 339)

Export this scale for Tailwind in the Tailwind colors tool

#C170AB 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)#7284AD0.129
Deuteranopia (no green cones)#8790A90.118
Tritanopia (no blue cones)#C972860.059
Achromatopsia (no color)#8B8B8B0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #C170AB

    #C170AB

    oklch(65.3% 0.126 337.9)

  • #3DA772

    #3DA772

    oklch(65.3% 0.126 158)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C170AB

    #C170AB

    oklch(65.3% 0.126 337.9)

  • #A57ACB

    #A57ACB

    oklch(65.3% 0.125 307.7)

  • #D06D81

    #D06D81

    oklch(65.4% 0.126 8.3)

Open the analogous palette in the generator

Split complementary

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

  • #C170AB

    #C170AB

    oklch(65.3% 0.126 337.9)

  • #7A9E44

    #7A9E44

    oklch(65.3% 0.126 127.7)

  • #00A69D

    #00A69D

    oklch(65.3% 0.114 188)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C170AB

    #C170AB

    oklch(65.3% 0.126 337.9)

  • #A5901E

    #A5901E

    oklch(65.3% 0.126 97.9)

  • #00A1BF

    #00A1BF

    oklch(65.4% 0.117 217.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C170AB

    #C170AB

    oklch(65.3% 0.126 337.9)

  • #C2802B

    #C2802B

    oklch(65.4% 0.126 68.3)

  • #3DA772

    #3DA772

    oklch(65.3% 0.126 158)

  • #4996D9

    #4996D9

    oklch(65.4% 0.126 247.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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