#C340AA

Closest named color: Purpley Pink (#C83CB9). oklch(59.3% 0.202 336.4), rgb(195, 64, 170).

Aa

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

About this color

#C340AA is a medium-dark, vivid pink. In OKLCH its lightness is 59%, its chroma 0.202 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.026 away. Black text reads best on it, at 4.63:1.

Hue familyPinks
Lightnessmedium-dark (59%)
Chromavivid (0.202)
Temperaturewarm
Nearest namePurpley Pink (#C83CB9)
Black text4.63:1
White text4.53:1

Values

HEX#C340AA
RGBrgb(195, 64, 170)
HSLhsl(311, 52%, 51%)
OKLCHoklch(59.3% 0.202 336.4)

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 #C340AA 4.53:1 AA Lc -76.0 Fine for body text
Black text on #C340AA 4.63:1 AA Lc 33.6 Non-text elements, placeholder text
#C340AA text on white 4.53:1 AA Lc 70.5 Content text, not long reading
#C340AA text on black 4.63:1 AA Lc -31.2 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 600.

  1. Step 50

    50

    #FBF2F8

    oklch(97% 0.012 337.5)

  2. Step 100

    100

    #F6E4F0

    oklch(93.7% 0.025 337.8)

  3. Step 200

    200

    #F0CDE6

    oklch(88.5% 0.051 336.3)

  4. Step 300

    300

    #E7AAD7

    oklch(80.9% 0.092 336.2)

  5. Step 400

    400

    #D87BC2

    oklch(70.7% 0.145 336.4)

  6. Step 500

    500

    #CB54B3

    oklch(63.1% 0.186 336.2)

  7. Step 600

    600 (this color)

    #C340AA

    oklch(59.3% 0.202 336.4)

  8. Step 700

    700

    #9D2387

    oklch(49.1% 0.188 336.6)

  9. Step 800

    800

    #7F206E

    oklch(42.6% 0.156 336.2)

  10. Step 900

    900

    #672259

    oklch(37.8% 0.121 336.6)

  11. Step 950

    950

    #3C1534

    oklch(26.9% 0.076 336.1)

Export this scale for Tailwind in the Tailwind colors tool

#C340AA 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)#4269AD0.217
Deuteranopia (no green cones)#6D7DA70.188
Tritanopia (no blue cones)#CD486F0.100
Achromatopsia (no color)#7676760.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #C340AA

    #C340AA

    oklch(59.3% 0.202 336.4)

  • #009659

    #009659

    oklch(59.2% 0.143 156.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C340AA

    #C340AA

    oklch(59.3% 0.202 336.4)

  • #9D53DA

    #9D53DA

    oklch(59.3% 0.202 306.4)

  • #D9346B

    #D9346B

    oklch(59.4% 0.202 6.3)

Open the analogous palette in the generator

Split complementary

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

  • #C340AA

    #C340AA

    oklch(59.3% 0.202 336.4)

  • #678D00

    #678D00

    oklch(59.3% 0.151 126.3)

  • #009288

    #009288

    oklch(59.4% 0.104 186.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C340AA

    #C340AA

    oklch(59.3% 0.202 336.4)

  • #947D00

    #947D00

    oklch(59.3% 0.122 96.1)

  • #008DA6

    #008DA6

    oklch(59.3% 0.105 216.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C340AA

    #C340AA

    oklch(59.3% 0.202 336.4)

  • #B26B00

    #B26B00

    oklch(59.3% 0.132 65.8)

  • #009659

    #009659

    oklch(59.2% 0.143 156.4)

  • #0083D3

    #0083D3

    oklch(59.2% 0.154 246.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #C340AA.

Similar named colors

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

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