#C02872

Closest named color: Medium Violet Red (#C71585). oklch(54.4% 0.195 356.7), rgb(192, 40, 114).

Aa

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

About this color

#C02872 is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.195 and its hue 357°. 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.54:1.

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.195)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.78:1
White text5.54:1

Values

HEX#C02872
RGBrgb(192, 40, 114)
HSLhsl(331, 66%, 45%)
OKLCHoklch(54.4% 0.195 356.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 #C02872 5.54:1 AA Lc -81.6 Fine for body text
Black text on #C02872 3.78:1 AA large text Lc 27.9 Dividers and decoration only
#C02872 text on white 5.54:1 AA Lc 76.2 Fine for body text
#C02872 text on black 3.78:1 AA large text Lc -25.5 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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #F9E3EA

    oklch(93.6% 0.026 356.3)

  3. Step 200

    200

    #F5CCDA

    oklch(88.4% 0.049 355.6)

  4. Step 300

    300

    #F0A9C2

    oklch(80.9% 0.089 356.4)

  5. Step 400

    400

    #E478A2

    oklch(70.6% 0.141 356.7)

  6. Step 500

    500

    #D9508B

    oklch(63% 0.18 356.9)

  7. Step 600

    600 (this color)

    #C02872

    oklch(54.4% 0.195 356.7)

  8. Step 700

    700

    #A91D63

    oklch(49.1% 0.182 356.6)

  9. Step 800

    800

    #891C50

    oklch(42.7% 0.15 357)

  10. Step 900

    900

    #6E1F43

    oklch(37.6% 0.117 356.3)

  11. Step 950

    950

    #411427

    oklch(27% 0.073 356.9)

Export this scale for Tailwind in the Tailwind colors tool

#C02872 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)#4A56740.220
Deuteranopia (no green cones)#74736F0.197
Tritanopia (no blue cones)#D00B4A0.064
Achromatopsia (no color)#6868680.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #C02872

    #C02872

    oklch(54.4% 0.195 356.7)

  • #00836E

    #00836E

    oklch(54.5% 0.102 176.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C02872

    #C02872

    oklch(54.4% 0.195 356.7)

  • #A739AA

    #A739AA

    oklch(54.5% 0.195 326.7)

  • #C92929

    #C92929

    oklch(54.5% 0.196 26.7)

Open the analogous palette in the generator

Split complementary

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

  • #C02872

    #C02872

    oklch(54.4% 0.195 356.7)

  • #00872E

    #00872E

    oklch(54.3% 0.162 146.8)

  • #007F8B

    #007F8B

    oklch(54.5% 0.093 206.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C02872

    #C02872

    oklch(54.4% 0.195 356.7)

  • #6C7800

    #6C7800

    oklch(54.4% 0.125 116.5)

  • #0079AB

    #0079AB

    oklch(54.5% 0.118 236.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C02872

    #C02872

    oklch(54.4% 0.195 356.7)

  • #8C6A00

    #8C6A00

    oklch(54.3% 0.111 86.4)

  • #00836E

    #00836E

    oklch(54.5% 0.102 176.2)

  • #3C63E0

    #3C63E0

    oklch(54.5% 0.196 266.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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