#C21E95

Closest named color: Medium Violet Red (#C71585). oklch(55.6% 0.222 342.7), rgb(194, 30, 149).

Aa

White text reads best on this color (5.36:1).

About this color

#C21E95 is a medium-dark, vivid pink. In OKLCH its lightness is 56%, its chroma 0.222 and its hue 343°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.027 away. White text reads best on it, at 5.36:1.

Hue familyPinks
Lightnessmedium-dark (56%)
Chromavivid (0.222)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.91:1
White text5.36:1

Values

HEX#C21E95
RGBrgb(194, 30, 149)
HSLhsl(316, 73%, 44%)
OKLCHoklch(55.6% 0.222 342.7)

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 #C21E95 5.36:1 AA Lc -80.4 Fine for body text
Black text on #C21E95 3.91:1 AA large text Lc 29.1 Dividers and decoration only
#C21E95 text on white 5.36:1 AA Lc 75.0 Content text, not long reading
#C21E95 text on black 3.91:1 AA large text Lc -26.7 Dividers and decoration only

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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F9E3EF

    oklch(93.7% 0.029 343.6)

  3. Step 200

    200

    #F4CBE3

    oklch(88.4% 0.056 342.3)

  4. Step 300

    300

    #EEA7D2

    oklch(80.9% 0.1 342.6)

  5. Step 400

    400

    #E274BB

    oklch(70.6% 0.159 342.6)

  6. Step 500

    500

    #D749AA

    oklch(63.2% 0.204 342.7)

  7. Step 600

    600 (this color)

    #C21E95

    oklch(55.6% 0.222 342.7)

  8. Step 700

    700

    #A7097F

    oklch(49.1% 0.206 342.7)

  9. Step 800

    800

    #881167

    oklch(42.7% 0.171 343)

  10. Step 900

    900

    #6D1A54

    oklch(37.7% 0.133 342.6)

  11. Step 950

    950

    #401131

    oklch(26.9% 0.084 342.6)

Export this scale for Tailwind in the Tailwind colors tool

#C21E95 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)#345A980.250
Deuteranopia (no green cones)#6974920.213
Tritanopia (no blue cones)#CF205A0.099
Achromatopsia (no color)#6B6B6B0.224

Harmonies

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

Complementary

The opposite hue (180°).

  • #C21E95

    #C21E95

    oklch(55.6% 0.222 342.7)

  • #00895E

    #00895E

    oklch(55.7% 0.121 162.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C21E95

    #C21E95

    oklch(55.6% 0.222 342.7)

  • #9E39CD

    #9E39CD

    oklch(55.5% 0.222 312.6)

  • #D5014E

    #D5014E

    oklch(55.7% 0.222 12.6)

Open the analogous palette in the generator

Split complementary

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

  • #C21E95

    #C21E95

    oklch(55.6% 0.222 342.7)

  • #4D8500

    #4D8500

    oklch(55.6% 0.156 132.7)

  • #008482

    #008482

    oklch(55.5% 0.095 192.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C21E95

    #C21E95

    oklch(55.6% 0.222 342.7)

  • #817500

    #817500

    oklch(55.6% 0.117 102.3)

  • #00809F

    #00809F

    oklch(55.6% 0.103 222.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C21E95

    #C21E95

    oklch(55.6% 0.222 342.7)

  • #9D6600

    #9D6600

    oklch(55.6% 0.119 72.5)

  • #00895E

    #00895E

    oklch(55.7% 0.121 162.5)

  • #0073D2

    #0073D2

    oklch(55.5% 0.17 252.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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