#CC5398

Closest named color: Pale Magenta (#D767AD). oklch(62% 0.17 347.9), rgb(204, 83, 152).

Aa

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

About this color

#CC5398 is a medium-dark, vivid red. In OKLCH its lightness is 62%, its chroma 0.170 and its hue 348°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.051 away. Black text reads best on it, at 5.25:1.

Hue familyReds
Lightnessmedium-dark (62%)
Chromavivid (0.170)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text5.25:1
White text3.99:1

Values

HEX#CC5398
RGBrgb(204, 83, 152)
HSLhsl(326, 54%, 56%)
OKLCHoklch(62% 0.17 347.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 #CC5398 3.99:1 AA large text Lc -72.1 Content text, not long reading
Black text on #CC5398 5.25:1 AA Lc 37.5 Non-text elements, placeholder text
#CC5398 text on white 3.99:1 AA large text Lc 66.6 Content text, not long reading
#CC5398 text on black 5.25:1 AA Lc -35.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 500.

  1. Step 50

    50

    #FCF3F7

    oklch(97.2% 0.011 348.4)

  2. Step 100

    100

    #F7E4ED

    oklch(93.7% 0.024 347.2)

  3. Step 200

    200

    #F2CDDE

    oklch(88.5% 0.047 348.7)

  4. Step 300

    300

    #EAABCA

    oklch(80.9% 0.084 348.1)

  5. Step 400

    400

    #DC7CAF

    oklch(70.6% 0.133 347.9)

  6. Step 500

    500 (this color)

    #CC5398

    oklch(62% 0.17 347.9)

  7. Step 600

    600

    #BB3786

    oklch(55.6% 0.185 348)

  8. Step 700

    700

    #A12872

    oklch(49.2% 0.172 347.8)

  9. Step 800

    800

    #83235D

    oklch(42.8% 0.143 347.8)

  10. Step 900

    900

    #69234C

    oklch(37.6% 0.111 347.6)

  11. Step 950

    950

    #3E162C

    oklch(27% 0.069 348.6)

Export this scale for Tailwind in the Tailwind colors tool

#CC5398 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)#61729A0.185
Deuteranopia (no green cones)#8287950.167
Tritanopia (no blue cones)#D9506F0.066
Achromatopsia (no color)#7F7F7F0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC5398

    #CC5398

    oklch(62% 0.17 347.9)

  • #009D77

    #009D77

    oklch(61.8% 0.125 168)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC5398

    #CC5398

    oklch(62% 0.17 347.9)

  • #AF5FC7

    #AF5FC7

    oklch(61.9% 0.17 318)

  • #D9515E

    #D9515E

    oklch(62% 0.17 18)

Open the analogous palette in the generator

Split complementary

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

  • #CC5398

    #CC5398

    oklch(62% 0.17 347.9)

  • #4B9C26

    #4B9C26

    oklch(61.8% 0.17 137.9)

  • #00999D

    #00999D

    oklch(62% 0.105 198.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC5398

    #CC5398

    oklch(62% 0.17 347.9)

  • #8F8B00

    #8F8B00

    oklch(62% 0.133 107.7)

  • #0093BF

    #0093BF

    oklch(61.9% 0.121 228.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC5398

    #CC5398

    oklch(62% 0.17 347.9)

  • #B07A00

    #B07A00

    oklch(61.9% 0.129 77.7)

  • #009D77

    #009D77

    oklch(61.8% 0.125 168)

  • #3C84EA

    #3C84EA

    oklch(62% 0.17 257.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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