#CC4098

Closest named color: Medium Violet Red (#C71585). oklch(59.9% 0.196 346), rgb(204, 64, 152).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (60%)
Chromavivid (0.196)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.75:1
White text4.41:1

Values

HEX#CC4098
RGBrgb(204, 64, 152)
HSLhsl(322, 58%, 53%)
OKLCHoklch(59.9% 0.196 346)

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 #CC4098 4.41:1 AA large text Lc -75.1 Fine for body text
Black text on #CC4098 4.75:1 AA Lc 34.5 Non-text elements, placeholder text
#CC4098 text on white 4.41:1 AA large text Lc 69.6 Content text, not long reading
#CC4098 text on black 4.75:1 AA Lc -32.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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F9E3EE

    oklch(93.7% 0.028 345.9)

  3. Step 200

    200

    #F5CCE1

    oklch(88.6% 0.053 346)

  4. Step 300

    300

    #EFA8CE

    oklch(81% 0.096 346.1)

  5. Step 400

    400

    #E375B5

    oklch(70.7% 0.155 345.8)

  6. Step 500

    500 (this color)

    #CC4098

    oklch(59.9% 0.196 346)

  7. Step 600

    600

    #C2238D

    oklch(55.5% 0.214 345.9)

  8. Step 700

    700

    #A71178

    oklch(49% 0.199 345.8)

  9. Step 800

    800

    #881561

    oklch(42.7% 0.164 346.3)

  10. Step 900

    900

    #6E1B50

    oklch(37.7% 0.129 345.9)

  11. Step 950

    950

    #41122F

    oklch(27.1% 0.082 345.9)

Export this scale for Tailwind in the Tailwind colors tool

#CC4098 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)#51699B0.216
Deuteranopia (no green cones)#7A81950.191
Tritanopia (no blue cones)#DA3D660.081
Achromatopsia (no color)#7878780.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC4098

    #CC4098

    oklch(59.9% 0.196 346)

  • #00976E

    #00976E

    oklch(60% 0.125 165.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC4098

    #CC4098

    oklch(59.9% 0.196 346)

  • #AC51CD

    #AC51CD

    oklch(60% 0.196 316)

  • #DC3A56

    #DC3A56

    oklch(59.9% 0.197 16.1)

Open the analogous palette in the generator

Split complementary

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

  • #CC4098

    #CC4098

    oklch(59.9% 0.196 346)

  • #489600

    #489600

    oklch(59.9% 0.178 136)

  • #009294

    #009294

    oklch(59.8% 0.102 196.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC4098

    #CC4098

    oklch(59.9% 0.196 346)

  • #8A8400

    #8A8400

    oklch(59.9% 0.128 106.5)

  • #008DB4

    #008DB4

    oklch(59.9% 0.115 226.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC4098

    #CC4098

    oklch(59.9% 0.196 346)

  • #AA7300

    #AA7300

    oklch(59.8% 0.126 75.7)

  • #00976E

    #00976E

    oklch(60% 0.125 165.6)

  • #127CF1

    #127CF1

    oklch(59.8% 0.197 256)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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