#CE42B1

Closest named color: Purpley Pink (#C83CB9). oklch(61.4% 0.211 337.2), rgb(206, 66, 177).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (61%)
Chromavivid (0.211)
Temperaturewarm
Nearest namePurpley Pink (#C83CB9)
Black text5.03:1
White text4.16:1

Values

HEX#CE42B1
RGBrgb(206, 66, 177)
HSLhsl(312, 59%, 53%)
OKLCHoklch(61.4% 0.211 337.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 #CE42B1 4.16:1 AA large text Lc -73.2 Content text, not long reading
Black text on #CE42B1 5.03:1 AA Lc 36.4 Non-text elements, placeholder text
#CE42B1 text on white 4.16:1 AA large text Lc 67.7 Content text, not long reading
#CE42B1 text on black 5.03:1 AA Lc -34.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 500.

  1. Step 50

    50

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F8E3F1

    oklch(93.7% 0.029 337.9)

  3. Step 200

    200

    #F3CBE7

    oklch(88.5% 0.058 337.1)

  4. Step 300

    300

    #ECA7D9

    oklch(80.9% 0.103 337)

  5. Step 400

    400

    #E074C5

    oklch(70.8% 0.165 337.5)

  6. Step 500

    500 (this color)

    #CE42B1

    oklch(61.4% 0.211 337.2)

  7. Step 600

    600

    #BF1CA2

    oklch(55.6% 0.23 337.3)

  8. Step 700

    700

    #A4058B

    oklch(49.1% 0.214 337.1)

  9. Step 800

    800

    #851071

    oklch(42.7% 0.177 336.9)

  10. Step 900

    900

    #6C195B

    oklch(37.8% 0.138 337.6)

  11. Step 950

    950

    #3F1135

    oklch(26.9% 0.087 337.4)

Export this scale for Tailwind in the Tailwind colors tool

#CE42B1 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)#466EB40.228
Deuteranopia (no green cones)#7484AE0.197
Tritanopia (no blue cones)#D949740.102
Achromatopsia (no color)#7C7C7C0.213

Harmonies

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

Complementary

The opposite hue (180°).

  • #CE42B1

    #CE42B1

    oklch(61.4% 0.211 337.2)

  • #009E60

    #009E60

    oklch(61.5% 0.146 157.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CE42B1

    #CE42B1

    oklch(61.4% 0.211 337.2)

  • #A756E5

    #A756E5

    oklch(61.5% 0.212 307.3)

  • #E4356E

    #E4356E

    oklch(61.4% 0.212 7.1)

Open the analogous palette in the generator

Split complementary

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

  • #CE42B1

    #CE42B1

    oklch(61.4% 0.211 337.2)

  • #6A9500

    #6A9500

    oklch(61.5% 0.159 127.3)

  • #009990

    #009990

    oklch(61.5% 0.107 187.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CE42B1

    #CE42B1

    oklch(61.4% 0.211 337.2)

  • #9A8400

    #9A8400

    oklch(61.5% 0.127 97.4)

  • #0094B0

    #0094B0

    oklch(61.5% 0.11 217.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CE42B1

    #CE42B1

    oklch(61.4% 0.211 337.2)

  • #B97200

    #B97200

    oklch(61.5% 0.135 67.6)

  • #009E60

    #009E60

    oklch(61.5% 0.146 157.1)

  • #0089E0

    #0089E0

    oklch(61.4% 0.163 247.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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