#CC0162

Closest named color: Dark Hot Pink (#D90166). oklch(54.5% 0.219 3.7), rgb(204, 1, 98).

Aa

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

About this color

#CC0162 is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.219 and its hue 4°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Hot Pink (#D90166), ΔE 0.027 away. White text reads best on it, at 5.60:1.

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.219)
Temperaturewarm
Nearest nameDark Hot Pink (#D90166)
Black text3.74:1
White text5.60:1

Values

HEX#CC0162
RGBrgb(204, 1, 98)
HSLhsl(331, 99%, 40%)
OKLCHoklch(54.5% 0.219 3.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 #CC0162 5.60:1 AA Lc -80.8 Fine for body text
Black text on #CC0162 3.74:1 AA large text Lc 28.7 Dividers and decoration only
#CC0162 text on white 5.60:1 AA Lc 75.4 Fine for body text
#CC0162 text on black 3.74:1 AA large text Lc -26.3 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

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FCE2E8

    oklch(93.6% 0.03 2)

  3. Step 200

    200

    #FACBD5

    oklch(88.6% 0.055 4)

  4. Step 300

    300

    #F7A6B9

    oklch(80.9% 0.098 4.2)

  5. Step 400

    400

    #EF7196

    oklch(70.7% 0.159 3.5)

  6. Step 500

    500

    #E5437C

    oklch(63.1% 0.202 3.7)

  7. Step 600

    600 (this color)

    #CC0162

    oklch(54.5% 0.219 3.7)

  8. Step 700

    700

    #B20054

    oklch(49.2% 0.198 3.9)

  9. Step 800

    800

    #920545

    oklch(42.7% 0.169 3.6)

  10. Step 900

    900

    #75163A

    oklch(37.7% 0.131 3.6)

  11. Step 950

    950

    #451022

    oklch(27% 0.082 3.8)

Export this scale for Tailwind in the Tailwind colors tool

#CC0162 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)#4951640.250
Deuteranopia (no green cones)#7A745E0.222
Tritanopia (no blue cones)#DF00380.072
Achromatopsia (no color)#6868680.221

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC0162

    #CC0162

    oklch(54.5% 0.219 3.7)

  • #008276

    #008276

    oklch(54.5% 0.097 183.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC0162

    #CC0162

    oklch(54.5% 0.219 3.7)

  • #B424A3

    #B424A3

    oklch(54.4% 0.219 333.7)

  • #C92C00

    #C92C00

    oklch(54.5% 0.198 33.7)

Open the analogous palette in the generator

Split complementary

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

  • #CC0162

    #CC0162

    oklch(54.5% 0.219 3.7)

  • #008648

    #008648

    oklch(54.4% 0.138 153.7)

  • #007E92

    #007E92

    oklch(54.5% 0.096 213.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC0162

    #CC0162

    oklch(54.5% 0.219 3.7)

  • #607C00

    #607C00

    oklch(54.4% 0.135 123.9)

  • #0076B7

    #0076B7

    oklch(54.5% 0.133 243.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC0162

    #CC0162

    oklch(54.5% 0.219 3.7)

  • #866E00

    #866E00

    oklch(54.5% 0.112 93.7)

  • #008276

    #008276

    oklch(54.5% 0.097 183.6)

  • #4E58EC

    #4E58EC

    oklch(54.4% 0.219 273.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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