#C21B9C

Closest named color: Medium Violet Red (#C71585). oklch(55.8% 0.228 340.2), rgb(194, 27, 156).

Aa

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

About this color

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

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

Values

HEX#C21B9C
RGBrgb(194, 27, 156)
HSLhsl(314, 76%, 43%)
OKLCHoklch(55.8% 0.228 340.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 #C21B9C 5.34:1 AA Lc -80.2 Fine for body text
Black text on #C21B9C 3.93:1 AA large text Lc 29.3 Dividers and decoration only
#C21B9C text on white 5.34:1 AA Lc 74.8 Content text, not long reading
#C21B9C text on black 3.93:1 AA large text Lc -26.9 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

    #F8E3F0

    oklch(93.6% 0.028 340)

  3. Step 200

    200

    #F4CBE5

    oklch(88.5% 0.057 340)

  4. Step 300

    300

    #EEA7D5

    oklch(81% 0.102 340.5)

  5. Step 400

    400

    #E273C0

    oklch(70.7% 0.164 340.2)

  6. Step 500

    500

    #D647B0

    oklch(63.1% 0.209 340.1)

  7. Step 600

    600 (this color)

    #C21B9C

    oklch(55.8% 0.228 340.2)

  8. Step 700

    700

    #A60285

    oklch(49% 0.212 340)

  9. Step 800

    800

    #870E6C

    oklch(42.7% 0.176 340)

  10. Step 900

    900

    #6D1958

    oklch(37.8% 0.137 339.9)

  11. Step 950

    950

    #401133

    oklch(27% 0.086 340.4)

Export this scale for Tailwind in the Tailwind colors tool

#C21B9C 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)#2C5A9F0.258
Deuteranopia (no green cones)#6674980.217
Tritanopia (no blue cones)#CE235E0.105
Achromatopsia (no color)#6B6B6B0.230

Harmonies

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

Complementary

The opposite hue (180°).

  • #C21B9C

    #C21B9C

    oklch(55.8% 0.228 340.2)

  • #008A5A

    #008A5A

    oklch(55.9% 0.126 160.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C21B9C

    #C21B9C

    oklch(55.8% 0.228 340.2)

  • #9C39D4

    #9C39D4

    oklch(55.7% 0.228 310.1)

  • #D50055

    #D50055

    oklch(55.8% 0.223 10.1)

Open the analogous palette in the generator

Split complementary

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

  • #C21B9C

    #C21B9C

    oklch(55.8% 0.228 340.2)

  • #558400

    #558400

    oklch(55.8% 0.15 130.1)

  • #008580

    #008580

    oklch(55.7% 0.096 190.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C21B9C

    #C21B9C

    oklch(55.8% 0.228 340.2)

  • #847500

    #847500

    oklch(55.9% 0.116 100.4)

  • #00819D

    #00819D

    oklch(55.8% 0.102 220.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C21B9C

    #C21B9C

    oklch(55.8% 0.228 340.2)

  • #A06500

    #A06500

    oklch(55.8% 0.121 70)

  • #008A5A

    #008A5A

    oklch(55.9% 0.126 160.2)

  • #0076CC

    #0076CC

    oklch(55.8% 0.159 250.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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