#C71A8D

Closest named color: Medium Violet Red (#C71585). oklch(55.9% 0.223 346.9), rgb(199, 26, 141).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.223)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.96:1
White text5.30:1

Values

HEX#C71A8D
RGBrgb(199, 26, 141)
HSLhsl(320, 77%, 44%)
OKLCHoklch(55.9% 0.223 346.9)

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 #C71A8D 5.30:1 AA Lc -79.9 Fine for body text
Black text on #C71A8D 3.96:1 AA large text Lc 29.6 Dividers and decoration only
#C71A8D text on white 5.30:1 AA Lc 74.5 Content text, not long reading
#C71A8D text on black 3.96:1 AA large text Lc -27.2 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

    #F9E2EE

    oklch(93.5% 0.03 344.8)

  3. Step 200

    200

    #F6CBE0

    oklch(88.5% 0.055 347.3)

  4. Step 300

    300

    #F1A6CD

    oklch(80.9% 0.101 347.1)

  5. Step 400

    400

    #E673B4

    oklch(70.8% 0.16 346.9)

  6. Step 500

    500

    #DB46A1

    oklch(63.1% 0.205 347)

  7. Step 600

    600 (this color)

    #C71A8D

    oklch(55.9% 0.223 346.9)

  8. Step 700

    700

    #AB0077

    oklch(49.2% 0.207 347)

  9. Step 800

    800

    #8B0D61

    oklch(42.8% 0.172 347)

  10. Step 900

    900

    #70184F

    oklch(37.8% 0.134 347.2)

  11. Step 950

    950

    #42102E

    oklch(27% 0.085 347.4)

Export this scale for Tailwind in the Tailwind colors tool

#C71A8D 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)#3B59900.252
Deuteranopia (no green cones)#6F76890.218
Tritanopia (no blue cones)#D50D550.091
Achromatopsia (no color)#6B6B6B0.225

Harmonies

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

Complementary

The opposite hue (180°).

  • #C71A8D

    #C71A8D

    oklch(55.9% 0.223 346.9)

  • #008966

    #008966

    oklch(55.9% 0.114 167.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C71A8D

    #C71A8D

    oklch(55.9% 0.223 346.9)

  • #A536C8

    #A536C8

    oklch(55.8% 0.223 316.7)

  • #D70242

    #D70242

    oklch(55.8% 0.223 16.9)

Open the analogous palette in the generator

Split complementary

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

  • #C71A8D

    #C71A8D

    oklch(55.9% 0.223 346.9)

  • #3D8900

    #3D8900

    oklch(55.9% 0.169 136.8)

  • #008587

    #008587

    oklch(55.9% 0.095 196.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C71A8D

    #C71A8D

    oklch(55.9% 0.223 346.9)

  • #7D7800

    #7D7800

    oklch(55.9% 0.12 106.8)

  • #0080A5

    #0080A5

    oklch(55.9% 0.108 226.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C71A8D

    #C71A8D

    oklch(55.9% 0.223 346.9)

  • #9A6900

    #9A6900

    oklch(55.8% 0.117 76.7)

  • #008966

    #008966

    oklch(55.9% 0.114 167.1)

  • #006FE4

    #006FE4

    oklch(55.9% 0.197 256.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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