#C042A8

Closest named color: Purpley Pink (#C83CB9). oklch(59% 0.196 336.2), rgb(192, 66, 168).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (59%)
Chromavivid (0.196)
Temperaturewarm
Nearest namePurpley Pink (#C83CB9)
Black text4.58:1
White text4.57:1

Values

HEX#C042A8
RGBrgb(192, 66, 168)
HSLhsl(311, 50%, 51%)
OKLCHoklch(59% 0.196 336.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 #C042A8 4.57:1 AA Lc -76.4 Fine for body text
Black text on #C042A8 4.58:1 AA Lc 33.2 Non-text elements, placeholder text
#C042A8 text on white 4.57:1 AA Lc 70.9 Content text, not long reading
#C042A8 text on black 4.58:1 AA Lc -30.8 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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F6E4F0

    oklch(93.7% 0.025 337.8)

  3. Step 200

    200

    #EFCDE5

    oklch(88.4% 0.049 336.6)

  4. Step 300

    300

    #E6ABD6

    oklch(80.9% 0.089 336.5)

  5. Step 400

    400

    #D77CC2

    oklch(70.7% 0.142 336.1)

  6. Step 500

    500

    #C957B2

    oklch(63.1% 0.18 336)

  7. Step 600

    600 (this color)

    #C042A8

    oklch(59% 0.196 336.2)

  8. Step 700

    700

    #9B2787

    oklch(49.1% 0.183 336)

  9. Step 800

    800

    #7E236D

    oklch(42.7% 0.151 336.4)

  10. Step 900

    900

    #662359

    oklch(37.8% 0.118 336.1)

  11. Step 950

    950

    #3C1634

    oklch(27.1% 0.074 336.2)

Export this scale for Tailwind in the Tailwind colors tool

#C042A8 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)#4469AB0.210
Deuteranopia (no green cones)#6C7CA50.182
Tritanopia (no blue cones)#CA496F0.096
Achromatopsia (no color)#7575750.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #C042A8

    #C042A8

    oklch(59% 0.196 336.2)

  • #009558

    #009558

    oklch(58.9% 0.142 156.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C042A8

    #C042A8

    oklch(59% 0.196 336.2)

  • #9B54D7

    #9B54D7

    oklch(59% 0.197 306.2)

  • #D5376B

    #D5376B

    oklch(58.9% 0.196 6)

Open the analogous palette in the generator

Split complementary

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

  • #C042A8

    #C042A8

    oklch(59% 0.196 336.2)

  • #668C00

    #668C00

    oklch(59% 0.151 126.4)

  • #009186

    #009186

    oklch(59.1% 0.104 185.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C042A8

    #C042A8

    oklch(59% 0.196 336.2)

  • #937C00

    #937C00

    oklch(59% 0.121 96)

  • #008CA5

    #008CA5

    oklch(59% 0.105 216.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C042A8

    #C042A8

    oklch(59% 0.196 336.2)

  • #B06A00

    #B06A00

    oklch(58.8% 0.131 66)

  • #009558

    #009558

    oklch(58.9% 0.142 156.3)

  • #0082D1

    #0082D1

    oklch(58.9% 0.152 246.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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