#C21B8B

Closest named color: Medium Violet Red (#C71585). oklch(55% 0.218 346.3), rgb(194, 27, 139).

Aa

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

About this color

#C21B8B is a medium-dark, vivid red. In OKLCH its lightness is 55%, its chroma 0.218 and its hue 346°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.014 away. White text reads best on it, at 5.49:1.

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.218)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.82:1
White text5.49:1

Values

HEX#C21B8B
RGBrgb(194, 27, 139)
HSLhsl(320, 76%, 43%)
OKLCHoklch(55% 0.218 346.3)

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 #C21B8B 5.49:1 AA Lc -81.0 Fine for body text
Black text on #C21B8B 3.82:1 AA large text Lc 28.5 Dividers and decoration only
#C21B8B text on white 5.49:1 AA Lc 75.6 Fine for body text
#C21B8B text on black 3.82:1 AA large text Lc -26.1 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

    #FDF2F7

    oklch(97.1% 0.013 347.9)

  2. Step 100

    100

    #F9E3EE

    oklch(93.7% 0.028 345.9)

  3. Step 200

    200

    #F5CBE1

    oklch(88.4% 0.055 345.4)

  4. Step 300

    300

    #F0A7CE

    oklch(81% 0.099 346.2)

  5. Step 400

    400

    #E474B5

    oklch(70.7% 0.157 346)

  6. Step 500

    500

    #D949A2

    oklch(63.1% 0.2 346.3)

  7. Step 600

    600 (this color)

    #C21B8B

    oklch(55% 0.218 346.3)

  8. Step 700

    700

    #A90978

    oklch(49.1% 0.203 346.2)

  9. Step 800

    800

    #891161

    oklch(42.6% 0.168 346.4)

  10. Step 900

    900

    #6F1A50

    oklch(37.8% 0.131 346.3)

  11. Step 950

    950

    #41112F

    oklch(27% 0.083 345.7)

Export this scale for Tailwind in the Tailwind colors tool

#C21B8B 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)#39578E0.247
Deuteranopia (no green cones)#6C73880.213
Tritanopia (no blue cones)#D012540.091
Achromatopsia (no color)#6969690.220

Harmonies

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

Complementary

The opposite hue (180°).

  • #C21B8B

    #C21B8B

    oklch(55% 0.218 346.3)

  • #008662

    #008662

    oklch(55% 0.114 166.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C21B8B

    #C21B8B

    oklch(55% 0.218 346.3)

  • #A136C4

    #A136C4

    oklch(55% 0.218 316.4)

  • #D20543

    #D20543

    oklch(55% 0.218 16.2)

Open the analogous palette in the generator

Split complementary

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

  • #C21B8B

    #C21B8B

    oklch(55% 0.218 346.3)

  • #3E8500

    #3E8500

    oklch(54.9% 0.164 136.2)

  • #008284

    #008284

    oklch(55% 0.094 196.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C21B8B

    #C21B8B

    oklch(55% 0.218 346.3)

  • #7B7500

    #7B7500

    oklch(55% 0.117 106.1)

  • #007DA0

    #007DA0

    oklch(54.9% 0.105 226.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C21B8B

    #C21B8B

    oklch(55% 0.218 346.3)

  • #976700

    #976700

    oklch(55% 0.115 76.8)

  • #008662

    #008662

    oklch(55% 0.114 166.1)

  • #006DDD

    #006DDD

    oklch(55% 0.19 256.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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