#C170A2

Closest named color: Pale Magenta (#D767AD). oklch(65% 0.12 343.2), rgb(193, 112, 162).

Aa

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

About this color

#C170A2 is a medium-light, moderately saturated pink. In OKLCH its lightness is 65%, its chroma 0.120 and its hue 343°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.046 away. Black text reads best on it, at 6.10:1.

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

Values

HEX#C170A2
RGBrgb(193, 112, 162)
HSLhsl(323, 40%, 60%)
OKLCHoklch(65% 0.12 343.2)

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 #C170A2 3.43:1 AA large text Lc -67.1 Content text, not long reading
Black text on #C170A2 6.10:1 AA Lc 42.4 Non-text elements, placeholder text
#C170A2 text on white 3.43:1 AA large text Lc 61.7 Content text, not long reading
#C170A2 text on black 6.10:1 AA Lc -40.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

    #F9F3F7

    oklch(97% 0.008 337.4)

  2. Step 100

    100

    #F3E6ED

    oklch(93.7% 0.017 343.6)

  3. Step 200

    200

    #EAD1DF

    oklch(88.5% 0.033 343)

  4. Step 300

    300

    #DDB2CA

    oklch(80.9% 0.059 343.9)

  5. Step 400

    400

    #CA89B0

    oklch(70.7% 0.094 343)

  6. Step 500

    500 (this color)

    #C170A2

    oklch(65% 0.12 343.2)

  7. Step 600

    600

    #A65187

    oklch(55.7% 0.13 343.3)

  8. Step 700

    700

    #8E4172

    oklch(49.1% 0.121 343.5)

  9. Step 800

    800

    #73365D

    oklch(42.7% 0.1 343.1)

  10. Step 900

    900

    #5E2F4C

    oklch(37.7% 0.079 343.7)

  11. Step 950

    950

    #371C2D

    oklch(27% 0.05 342.6)

Export this scale for Tailwind in the Tailwind colors tool

#C170A2 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)#7582A40.125
Deuteranopia (no green cones)#8A8FA00.114
Tritanopia (no blue cones)#CA70820.050
Achromatopsia (no color)#8A8A8A0.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #C170A2

    #C170A2

    oklch(65% 0.12 343.2)

  • #37A67A

    #37A67A

    oklch(65.1% 0.12 163)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C170A2

    #C170A2

    oklch(65% 0.12 343.2)

  • #A978C3

    #A978C3

    oklch(65% 0.121 313.3)

  • #CD6E7A

    #CD6E7A

    oklch(64.9% 0.12 13)

Open the analogous palette in the generator

Split complementary

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

  • #C170A2

    #C170A2

    oklch(65% 0.12 343.2)

  • #719F4F

    #719F4F

    oklch(65.1% 0.121 133.4)

  • #00A4A2

    #00A4A2

    oklch(65% 0.111 193.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C170A2

    #C170A2

    oklch(65% 0.12 343.2)

  • #9C922C

    #9C922C

    oklch(65% 0.12 103.6)

  • #0B9EC4

    #0B9EC4

    oklch(65% 0.12 223.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C170A2

    #C170A2

    oklch(65% 0.12 343.2)

  • #BB822E

    #BB822E

    oklch(64.9% 0.12 72.7)

  • #37A67A

    #37A67A

    oklch(65.1% 0.12 163)

  • #5792D6

    #5792D6

    oklch(64.9% 0.12 253.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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