#CC3171

Closest named color: Dark Pink (#CB416B). oklch(57.1% 0.196 0.9), rgb(204, 49, 113).

Aa

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

About this color

#CC3171 is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.196 and its hue 1°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Pink (#CB416B), ΔE 0.028 away. White text reads best on it, at 4.94:1.

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.196)
Temperaturewarm
Nearest nameDark Pink (#CB416B)
Black text4.24:1
White text4.94:1

Values

HEX#CC3171
RGBrgb(204, 49, 113)
HSLhsl(335, 61%, 50%)
OKLCHoklch(57.1% 0.196 0.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 #CC3171 4.94:1 AA Lc -78.3 Fine for body text
Black text on #CC3171 4.24:1 AA large text Lc 31.2 Non-text elements, placeholder text
#CC3171 text on white 4.94:1 AA Lc 72.9 Content text, not long reading
#CC3171 text on black 4.24:1 AA large text Lc -28.8 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

    #FAE3E9

    oklch(93.6% 0.026 359.9)

  3. Step 200

    200

    #F6CCD7

    oklch(88.4% 0.049 0.6)

  4. Step 300

    300

    #F1A9BD

    oklch(80.9% 0.088 1.1)

  5. Step 400

    400

    #E6789B

    oklch(70.7% 0.14 1.1)

  6. Step 500

    500

    #DB4F83

    oklch(63% 0.18 0.8)

  7. Step 600

    600 (this color)

    #CC3171

    oklch(57.1% 0.196 0.9)

  8. Step 700

    700

    #AB1B5B

    oklch(49.1% 0.182 0.8)

  9. Step 800

    800

    #8B1B4A

    oklch(42.7% 0.15 1.1)

  10. Step 900

    900

    #701E3E

    oklch(37.7% 0.118 0.8)

  11. Step 950

    950

    #421324

    oklch(26.9% 0.075 1.1)

Export this scale for Tailwind in the Tailwind colors tool

#CC3171 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)#555D730.220
Deuteranopia (no green cones)#7F7B6D0.198
Tritanopia (no blue cones)#DD114D0.058
Achromatopsia (no color)#7070700.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC3171

    #CC3171

    oklch(57.1% 0.196 0.9)

  • #008B7B

    #008B7B

    oklch(57.1% 0.103 181)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC3171

    #CC3171

    oklch(57.1% 0.196 0.9)

  • #B43FAC

    #B43FAC

    oklch(57.1% 0.196 330.6)

  • #D23622

    #D23622

    oklch(57.1% 0.196 30.9)

Open the analogous palette in the generator

Split complementary

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

  • #CC3171

    #CC3171

    oklch(57.1% 0.196 0.9)

  • #009044

    #009044

    oklch(57.2% 0.154 150.8)

  • #008799

    #008799

    oklch(57.2% 0.099 211.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC3171

    #CC3171

    oklch(57.1% 0.196 0.9)

  • #6C8300

    #6C8300

    oklch(57.1% 0.137 121.2)

  • #007FBE

    #007FBE

    oklch(57% 0.133 241.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC3171

    #CC3171

    oklch(57.1% 0.196 0.9)

  • #927400

    #927400

    oklch(57.2% 0.117 90.6)

  • #008B7B

    #008B7B

    oklch(57.1% 0.103 181)

  • #5068E9

    #5068E9

    oklch(57.1% 0.196 270.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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