#CA40AA

Closest named color: Purpley Pink (#C83CB9). oklch(60.3% 0.206 338.5), rgb(202, 64, 170).

Aa

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

About this color

#CA40AA is a medium-dark, vivid pink. In OKLCH its lightness is 60%, its chroma 0.206 and its hue 339°. 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.82:1.

Hue familyPinks
Lightnessmedium-dark (60%)
Chromavivid (0.206)
Temperaturewarm
Nearest namePurpley Pink (#C83CB9)
Black text4.82:1
White text4.35:1

Values

HEX#CA40AA
RGBrgb(202, 64, 170)
HSLhsl(314, 57%, 52%)
OKLCHoklch(60.3% 0.206 338.5)

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 #CA40AA 4.35:1 AA large text Lc -74.6 Content text, not long reading
Black text on #CA40AA 4.82:1 AA Lc 35.0 Non-text elements, placeholder text
#CA40AA text on white 4.35:1 AA large text Lc 69.1 Content text, not long reading
#CA40AA text on black 4.82:1 AA Lc -32.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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F8E3F1

    oklch(93.7% 0.029 337.9)

  3. Step 200

    200

    #F3CBE6

    oklch(88.4% 0.057 338.1)

  4. Step 300

    300

    #ECA7D7

    oklch(80.8% 0.102 338.3)

  5. Step 400

    400

    #DF75C2

    oklch(70.7% 0.16 338.5)

  6. Step 500

    500 (this color)

    #CA40AA

    oklch(60.3% 0.206 338.5)

  7. Step 600

    600

    #BF209E

    oklch(55.6% 0.224 338.7)

  8. Step 700

    700

    #A40C87

    oklch(49.1% 0.208 338.6)

  9. Step 800

    800

    #85136E

    oklch(42.7% 0.172 338.4)

  10. Step 900

    900

    #6B1A59

    oklch(37.6% 0.135 338.3)

  11. Step 950

    950

    #3F1234

    oklch(27% 0.084 338.5)

Export this scale for Tailwind in the Tailwind colors tool

#CA40AA 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)#466BAD0.224
Deuteranopia (no green cones)#7281A70.195
Tritanopia (no blue cones)#D5466F0.098
Achromatopsia (no color)#7979790.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA40AA

    #CA40AA

    oklch(60.3% 0.206 338.5)

  • #009A61

    #009A61

    oklch(60.5% 0.14 158.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA40AA

    #CA40AA

    oklch(60.3% 0.206 338.5)

  • #A453DD

    #A453DD

    oklch(60.2% 0.207 308.4)

  • #DF3568

    #DF3568

    oklch(60.4% 0.206 8.6)

Open the analogous palette in the generator

Split complementary

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

  • #CA40AA

    #CA40AA

    oklch(60.3% 0.206 338.5)

  • #649200

    #649200

    oklch(60.4% 0.159 128.5)

  • #00958D

    #00958D

    oklch(60.4% 0.105 188.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA40AA

    #CA40AA

    oklch(60.3% 0.206 338.5)

  • #958100

    #958100

    oklch(60.3% 0.125 98.3)

  • #0090AD

    #0090AD

    oklch(60.4% 0.109 218.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA40AA

    #CA40AA

    oklch(60.3% 0.206 338.5)

  • #B37000

    #B37000

    oklch(60.3% 0.132 68.9)

  • #009A61

    #009A61

    oklch(60.5% 0.14 158.5)

  • #0085DE

    #0085DE

    oklch(60.4% 0.165 248.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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