#C170AD

Closest named color: Pale Magenta (#D767AD). oklch(65.4% 0.128 336.8), rgb(193, 112, 173).

Aa

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

About this color

#C170AD is a medium-light, moderately saturated pink. In OKLCH its lightness is 65%, its chroma 0.128 and its hue 337°. 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.18:1.

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

Values

HEX#C170AD
RGBrgb(193, 112, 173)
HSLhsl(315, 40%, 60%)
OKLCHoklch(65.4% 0.128 336.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 #C170AD 3.39:1 AA large text Lc -66.6 Content text, not long reading
Black text on #C170AD 6.18:1 AA Lc 42.9 Non-text elements, placeholder text
#C170AD text on white 3.39:1 AA large text Lc 61.2 Content text, not long reading
#C170AD text on black 6.18:1 AA Lc -40.5 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

    #E9D1E2

    oklch(88.5% 0.035 336.2)

  4. Step 300

    300

    #DCB2D0

    oklch(81% 0.063 336.6)

  5. Step 400

    400

    #C988B8

    oklch(70.7% 0.101 336.6)

  6. Step 500

    500 (this color)

    #C170AD

    oklch(65.4% 0.128 336.8)

  7. Step 600

    600

    #A44F91

    oklch(55.5% 0.139 336.5)

  8. Step 700

    700

    #8D3F7B

    oklch(49.1% 0.13 337.1)

  9. Step 800

    800

    #723564

    oklch(42.7% 0.106 336.8)

  10. Step 900

    900

    #5D2F52

    oklch(37.8% 0.083 336.8)

  11. Step 950

    950

    #361C30

    oklch(27% 0.052 336)

Export this scale for Tailwind in the Tailwind colors tool

#C170AD 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)#7184AF0.130
Deuteranopia (no green cones)#8690AB0.119
Tritanopia (no blue cones)#C973870.062
Achromatopsia (no color)#8B8B8B0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #C170AD

    #C170AD

    oklch(65.4% 0.128 336.8)

  • #3EA770

    #3EA770

    oklch(65.3% 0.127 157)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C170AD

    #C170AD

    oklch(65.4% 0.128 336.8)

  • #A57ACD

    #A57ACD

    oklch(65.4% 0.128 307)

  • #D16C83

    #D16C83

    oklch(65.4% 0.129 6.8)

Open the analogous palette in the generator

Split complementary

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

  • #C170AD

    #C170AD

    oklch(65.4% 0.128 336.8)

  • #7C9E41

    #7C9E41

    oklch(65.4% 0.127 126.5)

  • #00A69C

    #00A69C

    oklch(65.3% 0.114 187.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C170AD

    #C170AD

    oklch(65.4% 0.128 336.8)

  • #A7901A

    #A7901A

    oklch(65.5% 0.128 97)

  • #00A1BE

    #00A1BE

    oklch(65.4% 0.116 216.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C170AD

    #C170AD

    oklch(65.4% 0.128 336.8)

  • #C47F2A

    #C47F2A

    oklch(65.4% 0.128 66.9)

  • #3EA770

    #3EA770

    oklch(65.3% 0.127 157)

  • #4696DA

    #4696DA

    oklch(65.4% 0.128 247.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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