#C42879

Closest named color: Medium Violet Red (#C71585). oklch(55.4% 0.201 354.7), rgb(196, 40, 121).

Aa

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

About this color

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

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

Values

HEX#C42879
RGBrgb(196, 40, 121)
HSLhsl(329, 66%, 46%)
OKLCHoklch(55.4% 0.201 354.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 #C42879 5.34:1 AA Lc -80.5 Fine for body text
Black text on #C42879 3.92:1 AA large text Lc 29.0 Dividers and decoration only
#C42879 text on white 5.34:1 AA Lc 75.1 Fine for body text
#C42879 text on black 3.92:1 AA large text Lc -26.6 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

    #FDF2F6

    oklch(97.1% 0.013 353.1)

  2. Step 100

    100

    #F9E3EB

    oklch(93.6% 0.026 353.5)

  3. Step 200

    200

    #F5CCDB

    oklch(88.5% 0.05 354.2)

  4. Step 300

    300

    #F0A8C4

    oklch(80.8% 0.091 354.3)

  5. Step 400

    400

    #E577A6

    oklch(70.7% 0.145 354.5)

  6. Step 500

    500

    #DA4E90

    oklch(63.1% 0.186 354.6)

  7. Step 600

    600 (this color)

    #C42879

    oklch(55.4% 0.201 354.7)

  8. Step 700

    700

    #AA1866

    oklch(49.1% 0.187 355)

  9. Step 800

    800

    #8A1954

    oklch(42.8% 0.155 354.5)

  10. Step 900

    900

    #6F1E45

    oklch(37.8% 0.12 354.9)

  11. Step 950

    950

    #411328

    oklch(26.9% 0.076 355.1)

Export this scale for Tailwind in the Tailwind colors tool

#C42879 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)#49597B0.227
Deuteranopia (no green cones)#7575760.201
Tritanopia (no blue cones)#D40F4E0.069
Achromatopsia (no color)#6B6B6B0.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #C42879

    #C42879

    oklch(55.4% 0.201 354.7)

  • #00866F

    #00866F

    oklch(55.4% 0.104 175)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C42879

    #C42879

    oklch(55.4% 0.201 354.7)

  • #A93AB2

    #A93AB2

    oklch(55.4% 0.201 324.7)

  • #CE2730

    #CE2730

    oklch(55.3% 0.201 24.6)

Open the analogous palette in the generator

Split complementary

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

  • #C42879

    #C42879

    oklch(55.4% 0.201 354.7)

  • #008B21

    #008B21

    oklch(55.3% 0.176 144.7)

  • #00828D

    #00828D

    oklch(55.4% 0.095 205.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C42879

    #C42879

    oklch(55.4% 0.201 354.7)

  • #717A00

    #717A00

    oklch(55.3% 0.125 114.8)

  • #007CAD

    #007CAD

    oklch(55.4% 0.118 235.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C42879

    #C42879

    oklch(55.4% 0.201 354.7)

  • #916C00

    #916C00

    oklch(55.4% 0.113 84.8)

  • #00866F

    #00866F

    oklch(55.4% 0.104 175)

  • #3666E6

    #3666E6

    oklch(55.3% 0.201 264.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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