#C840AD

Closest named color: Purpley Pink (#C83CB9). oklch(60.2% 0.207 336.8), rgb(200, 64, 173).

Aa

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

About this color

#C840AD is a medium-dark, vivid pink. In OKLCH its lightness is 60%, its chroma 0.207 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.021 away. Black text reads best on it, at 4.79:1.

Hue familyPinks
Lightnessmedium-dark (60%)
Chromavivid (0.207)
Temperaturewarm
Nearest namePurpley Pink (#C83CB9)
Black text4.79:1
White text4.38:1

Values

HEX#C840AD
RGBrgb(200, 64, 173)
HSLhsl(312, 55%, 52%)
OKLCHoklch(60.2% 0.207 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 #C840AD 4.38:1 AA large text Lc -74.8 Content text, not long reading
Black text on #C840AD 4.79:1 AA Lc 34.7 Non-text elements, placeholder text
#C840AD text on white 4.38:1 AA large text Lc 69.4 Content text, not long reading
#C840AD text on black 4.79:1 AA Lc -32.3 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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F7E3F1

    oklch(93.6% 0.028 336.4)

  3. Step 200

    200

    #F2CCE7

    oklch(88.5% 0.055 336.5)

  4. Step 300

    300

    #EBA7D9

    oklch(80.8% 0.102 336.5)

  5. Step 400

    400

    #DE75C5

    oklch(70.7% 0.162 336.9)

  6. Step 500

    500 (this color)

    #C840AD

    oklch(60.2% 0.207 336.8)

  7. Step 600

    600

    #BD21A2

    oklch(55.6% 0.225 336.8)

  8. Step 700

    700

    #A30D8B

    oklch(49.1% 0.21 336.8)

  9. Step 800

    800

    #841371

    oklch(42.7% 0.174 336.6)

  10. Step 900

    900

    #6B1B5B

    oklch(37.8% 0.135 337.1)

  11. Step 950

    950

    #3F1235

    oklch(27.1% 0.085 337.5)

Export this scale for Tailwind in the Tailwind colors tool

#C840AD 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)#436BB00.224
Deuteranopia (no green cones)#7080AA0.193
Tritanopia (no blue cones)#D248710.101
Achromatopsia (no color)#7979790.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #C840AD

    #C840AD

    oklch(60.2% 0.207 336.8)

  • #00995C

    #00995C

    oklch(60.1% 0.144 156.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C840AD

    #C840AD

    oklch(60.2% 0.207 336.8)

  • #A154DF

    #A154DF

    oklch(60.2% 0.207 306.7)

  • #DE346C

    #DE346C

    oklch(60.2% 0.207 6.8)

Open the analogous palette in the generator

Split complementary

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

  • #C840AD

    #C840AD

    oklch(60.2% 0.207 336.8)

  • #689000

    #689000

    oklch(60.1% 0.154 126.7)

  • #00958B

    #00958B

    oklch(60.3% 0.106 186.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C840AD

    #C840AD

    oklch(60.2% 0.207 336.8)

  • #968000

    #968000

    oklch(60.2% 0.124 97)

  • #0090AA

    #0090AA

    oklch(60.2% 0.107 216.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C840AD

    #C840AD

    oklch(60.2% 0.207 336.8)

  • #B56E00

    #B56E00

    oklch(60.2% 0.133 66.6)

  • #00995C

    #00995C

    oklch(60.1% 0.144 156.8)

  • #0086D8

    #0086D8

    oklch(60.2% 0.157 246.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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