#CC428F

Closest named color: Medium Violet Red (#C71585). oklch(59.7% 0.189 350), rgb(204, 66, 143).

Aa

Black text reads best on this color (4.74:1).

About this color

#CC428F is a medium-dark, vivid red. In OKLCH its lightness is 60%, its chroma 0.189 and its hue 350°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.054 away. Black text reads best on it, at 4.74:1.

Hue familyReds
Lightnessmedium-dark (60%)
Chromavivid (0.189)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.74:1
White text4.42:1

Values

HEX#CC428F
RGBrgb(204, 66, 143)
HSLhsl(327, 58%, 53%)
OKLCHoklch(59.7% 0.189 350)

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 #CC428F 4.42:1 AA large text Lc -75.2 Fine for body text
Black text on #CC428F 4.74:1 AA Lc 34.4 Non-text elements, placeholder text
#CC428F text on white 4.42:1 AA large text Lc 69.7 Content text, not long reading
#CC428F text on black 4.74:1 AA Lc -31.9 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F9E3EC

    oklch(93.6% 0.027 350.9)

  3. Step 200

    200

    #F5CCDE

    oklch(88.5% 0.052 350)

  4. Step 300

    300

    #EFA8C9

    oklch(80.9% 0.093 349.9)

  5. Step 400

    400

    #E377AE

    oklch(70.7% 0.147 349.7)

  6. Step 500

    500 (this color)

    #CC428F

    oklch(59.7% 0.189 350)

  7. Step 600

    600

    #C32884

    oklch(55.6% 0.205 349.9)

  8. Step 700

    700

    #A81770

    oklch(49.1% 0.191 349.8)

  9. Step 800

    800

    #88185B

    oklch(42.6% 0.158 349.7)

  10. Step 900

    900

    #6E1D4B

    oklch(37.7% 0.124 349.7)

  11. Step 950

    950

    #41132C

    oklch(27.1% 0.078 349.9)

Export this scale for Tailwind in the Tailwind colors tool

#CC428F 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)#5668910.209
Deuteranopia (no green cones)#7D818C0.187
Tritanopia (no blue cones)#DB3B630.071
Achromatopsia (no color)#7878780.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC428F

    #CC428F

    oklch(59.7% 0.189 350)

  • #009574

    #009574

    oklch(59.6% 0.118 170)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC428F

    #CC428F

    oklch(59.7% 0.189 350)

  • #AF51C4

    #AF51C4

    oklch(59.8% 0.189 320)

  • #D9404E

    #D9404E

    oklch(59.8% 0.189 20.1)

Open the analogous palette in the generator

Split complementary

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

  • #CC428F

    #CC428F

    oklch(59.7% 0.189 350)

  • #309808

    #309808

    oklch(59.6% 0.189 139.9)

  • #009197

    #009197

    oklch(59.7% 0.101 200)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC428F

    #CC428F

    oklch(59.7% 0.189 350)

  • #858500

    #858500

    oklch(59.7% 0.13 109.8)

  • #008BB8

    #008BB8

    oklch(59.6% 0.119 230.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC428F

    #CC428F

    oklch(59.7% 0.189 350)

  • #A57500

    #A57500

    oklch(59.6% 0.123 79.9)

  • #009574

    #009574

    oklch(59.6% 0.118 170)

  • #3379EE

    #3379EE

    oklch(59.6% 0.19 260.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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