#C02D71

Closest named color: Medium Violet Red (#C71585). oklch(54.8% 0.19 357.7), rgb(192, 45, 113).

Aa

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

About this color

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

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

Values

HEX#C02D71
RGBrgb(192, 45, 113)
HSLhsl(332, 62%, 46%)
OKLCHoklch(54.8% 0.19 357.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 #C02D71 5.44:1 AA Lc -81.2 Fine for body text
Black text on #C02D71 3.85:1 AA large text Lc 28.3 Dividers and decoration only
#C02D71 text on white 5.44:1 AA Lc 75.8 Fine for body text
#C02D71 text on black 3.85:1 AA large text Lc -25.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

    #FCF2F5

    oklch(97% 0.011 357)

  2. Step 100

    100

    #F9E3EA

    oklch(93.6% 0.026 356.3)

  3. Step 200

    200

    #F5CDD9

    oklch(88.6% 0.048 358.2)

  4. Step 300

    300

    #EFAAC1

    oklch(81% 0.086 357.5)

  5. Step 400

    400

    #E37AA1

    oklch(70.8% 0.136 357.6)

  6. Step 500

    500

    #D8528A

    oklch(63.1% 0.176 357.5)

  7. Step 600

    600 (this color)

    #C02D71

    oklch(54.8% 0.19 357.7)

  8. Step 700

    700

    #A82161

    oklch(49.2% 0.177 357.7)

  9. Step 800

    800

    #881E4F

    oklch(42.6% 0.147 357.5)

  10. Step 900

    900

    #6E2042

    oklch(37.7% 0.115 357.3)

  11. Step 950

    950

    #411426

    oklch(27% 0.073 358.3)

Export this scale for Tailwind in the Tailwind colors tool

#C02D71 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)#4D58730.214
Deuteranopia (no green cones)#75746E0.192
Tritanopia (no blue cones)#D0154B0.061
Achromatopsia (no color)#6A6A6A0.192

Harmonies

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

Complementary

The opposite hue (180°).

  • #C02D71

    #C02D71

    oklch(54.8% 0.19 357.7)

  • #008470

    #008470

    oklch(54.8% 0.102 177.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C02D71

    #C02D71

    oklch(54.8% 0.19 357.7)

  • #A83CA8

    #A83CA8

    oklch(54.9% 0.19 327.8)

  • #C82F2A

    #C82F2A

    oklch(54.8% 0.19 27.5)

Open the analogous palette in the generator

Split complementary

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

  • #C02D71

    #C02D71

    oklch(54.8% 0.19 357.7)

  • #008833

    #008833

    oklch(54.6% 0.159 147.7)

  • #00808D

    #00808D

    oklch(54.8% 0.094 207.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C02D71

    #C02D71

    oklch(54.8% 0.19 357.7)

  • #6B7A00

    #6B7A00

    oklch(54.8% 0.127 117.9)

  • #0079AE

    #0079AE

    oklch(54.7% 0.121 237.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C02D71

    #C02D71

    oklch(54.8% 0.19 357.7)

  • #8C6C00

    #8C6C00

    oklch(54.8% 0.112 88.1)

  • #008470

    #008470

    oklch(54.8% 0.102 177.1)

  • #4164DE

    #4164DE

    oklch(54.8% 0.19 267.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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