#CC397D

Closest named color: Dark Pink (#CB416B). oklch(58.2% 0.192 356.7), rgb(204, 57, 125).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (58%)
Chromavivid (0.192)
Temperaturewarm
Nearest nameDark Pink (#CB416B)
Black text4.44:1
White text4.72:1

Values

HEX#CC397D
RGBrgb(204, 57, 125)
HSLhsl(332, 59%, 51%)
OKLCHoklch(58.2% 0.192 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 #CC397D 4.72:1 AA Lc -77.1 Fine for body text
Black text on #CC397D 4.44:1 AA large text Lc 32.5 Non-text elements, placeholder text
#CC397D text on white 4.72:1 AA Lc 71.6 Content text, not long reading
#CC397D text on black 4.44:1 AA large text Lc -30.1 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 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

    #F5CDDA

    oklch(88.6% 0.048 356.6)

  4. Step 300

    300

    #EFAAC2

    oklch(81% 0.086 356.6)

  5. Step 400

    400

    #E379A2

    oklch(70.6% 0.138 356.7)

  6. Step 500

    500

    #D8528B

    oklch(63.1% 0.176 357)

  7. Step 600

    600 (this color)

    #CC397D

    oklch(58.2% 0.192 356.7)

  8. Step 700

    700

    #A82063

    oklch(49.2% 0.178 356.6)

  9. Step 800

    800

    #881E50

    oklch(42.6% 0.147 356.9)

  10. Step 900

    900

    #6E2043

    oklch(37.7% 0.115 356.5)

  11. Step 950

    950

    #411427

    oklch(27% 0.073 356.9)

Export this scale for Tailwind in the Tailwind colors tool

#CC397D 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)#56627F0.215
Deuteranopia (no green cones)#7E7D7A0.192
Tritanopia (no blue cones)#DC28560.062
Achromatopsia (no color)#7373730.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC397D

    #CC397D

    oklch(58.2% 0.192 356.7)

  • #008F79

    #008F79

    oklch(58.1% 0.108 176.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC397D

    #CC397D

    oklch(58.2% 0.192 356.7)

  • #B247B5

    #B247B5

    oklch(58.2% 0.191 326.6)

  • #D53B36

    #D53B36

    oklch(58.3% 0.192 26.9)

Open the analogous palette in the generator

Split complementary

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

  • #CC397D

    #CC397D

    oklch(58.2% 0.192 356.7)

  • #009433

    #009433

    oklch(58.1% 0.174 146.8)

  • #008B98

    #008B98

    oklch(58.2% 0.1 206.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC397D

    #CC397D

    oklch(58.2% 0.192 356.7)

  • #768400

    #768400

    oklch(58.2% 0.134 116.9)

  • #0084BC

    #0084BC

    oklch(58.1% 0.127 237.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC397D

    #CC397D

    oklch(58.2% 0.192 356.7)

  • #997500

    #997500

    oklch(58.2% 0.119 87)

  • #008F79

    #008F79

    oklch(58.1% 0.108 176.7)

  • #476FEB

    #476FEB

    oklch(58.2% 0.193 266.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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