#C240AA

Closest named color: Purpley Pink (#C83CB9). oklch(59.1% 0.201 336), rgb(194, 64, 170).

Aa

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

About this color

#C240AA is a medium-dark, vivid pink. In OKLCH its lightness is 59%, its chroma 0.201 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.60:1.

Hue familyPinks
Lightnessmedium-dark (59%)
Chromavivid (0.201)
Temperaturewarm
Nearest namePurpley Pink (#C83CB9)
Black text4.60:1
White text4.55:1

Values

HEX#C240AA
RGBrgb(194, 64, 170)
HSLhsl(311, 52%, 51%)
OKLCHoklch(59.1% 0.201 336)

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 #C240AA 4.55:1 AA Lc -76.2 Fine for body text
Black text on #C240AA 4.60:1 AA Lc 33.4 Non-text elements, placeholder text
#C240AA text on white 4.55:1 AA Lc 70.7 Content text, not long reading
#C240AA text on black 4.60:1 AA Lc -31.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 600.

  1. Step 50

    50

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E4F1

    oklch(93.7% 0.026 335.5)

  3. Step 200

    200

    #F0CDE6

    oklch(88.5% 0.051 336.3)

  4. Step 300

    300

    #E6ABD7

    oklch(80.9% 0.089 335.8)

  5. Step 400

    400

    #D87BC3

    oklch(70.7% 0.145 336)

  6. Step 500

    500

    #CB55B3

    oklch(63.2% 0.185 336.2)

  7. Step 600

    600 (this color)

    #C240AA

    oklch(59.1% 0.201 336)

  8. Step 700

    700

    #9C2488

    oklch(49.1% 0.187 335.9)

  9. Step 800

    800

    #7F216E

    oklch(42.7% 0.155 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

#C240AA 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.216
Deuteranopia (no green cones)#6C7DA70.188
Tritanopia (no blue cones)#CC486F0.100
Achromatopsia (no color)#7676760.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #C240AA

    #C240AA

    oklch(59.1% 0.201 336)

  • #009658

    #009658

    oklch(59.2% 0.143 156)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C240AA

    #C240AA

    oklch(59.1% 0.201 336)

  • #9C53DA

    #9C53DA

    oklch(59.1% 0.202 306)

  • #D8346B

    #D8346B

    oklch(59.2% 0.202 6.1)

Open the analogous palette in the generator

Split complementary

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

  • #C240AA

    #C240AA

    oklch(59.1% 0.201 336)

  • #678C00

    #678C00

    oklch(59% 0.15 126)

  • #009187

    #009187

    oklch(59.1% 0.104 186.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C240AA

    #C240AA

    oklch(59.1% 0.201 336)

  • #937C00

    #937C00

    oklch(59% 0.121 96)

  • #008DA5

    #008DA5

    oklch(59.2% 0.105 215.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C240AA

    #C240AA

    oklch(59.1% 0.201 336)

  • #B16B00

    #B16B00

    oklch(59.1% 0.131 66.3)

  • #009658

    #009658

    oklch(59.2% 0.143 156)

  • #0083D2

    #0083D2

    oklch(59.2% 0.153 246.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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