#CC0456

Closest named color: Ruby (#CA0147). oklch(54.2% 0.216 8.4), rgb(204, 4, 86).

Aa

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

About this color

#CC0456 is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.216 and its hue 8°. Its hue sits on the warm side of the wheel. The nearest named color is Ruby (#CA0147), ΔE 0.021 away. White text reads best on it, at 5.64:1.

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.216)
Temperaturewarm
Nearest nameRuby (#CA0147)
Black text3.71:1
White text5.64:1

Values

HEX#CC0456
RGBrgb(204, 4, 86)
HSLhsl(335, 96%, 41%)
OKLCHoklch(54.2% 0.216 8.4)

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 #CC0456 5.64:1 AA Lc -81.1 Fine for body text
Black text on #CC0456 3.71:1 AA large text Lc 28.4 Dividers and decoration only
#CC0456 text on white 5.64:1 AA Lc 75.7 Fine for body text
#CC0456 text on black 3.71:1 AA large text Lc -26.0 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

    #FCE3E6

    oklch(93.7% 0.028 9.4)

  3. Step 200

    200

    #FACBD2

    oklch(88.5% 0.054 8.2)

  4. Step 300

    300

    #F7A6B4

    oklch(80.8% 0.097 8.1)

  5. Step 400

    400

    #EF728D

    oklch(70.6% 0.155 8.4)

  6. Step 500

    500

    #E64571

    oklch(63.2% 0.198 8.7)

  7. Step 600

    600 (this color)

    #CC0456

    oklch(54.2% 0.216 8.4)

  8. Step 700

    700

    #B3004A

    oklch(49.1% 0.197 8.5)

  9. Step 800

    800

    #92083D

    oklch(42.6% 0.166 8.1)

  10. Step 900

    900

    #761734

    oklch(37.8% 0.129 8.4)

  11. Step 950

    950

    #45101E

    oklch(26.9% 0.081 8.7)

Export this scale for Tailwind in the Tailwind colors tool

#CC0456 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)#4D50570.245
Deuteranopia (no green cones)#7C74510.221
Tritanopia (no blue cones)#DF00320.062
Achromatopsia (no color)#6767670.217

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC0456

    #CC0456

    oklch(54.2% 0.216 8.4)

  • #00817A

    #00817A

    oklch(54.4% 0.094 188.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC0456

    #CC0456

    oklch(54.2% 0.216 8.4)

  • #B72299

    #B72299

    oklch(54.2% 0.215 338.2)

  • #BF3C00

    #BF3C00

    oklch(54.2% 0.176 38.4)

Open the analogous palette in the generator

Split complementary

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

  • #CC0456

    #CC0456

    oklch(54.2% 0.216 8.4)

  • #008553

    #008553

    oklch(54.3% 0.126 158.4)

  • #007C95

    #007C95

    oklch(54.1% 0.098 218.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC0456

    #CC0456

    oklch(54.2% 0.216 8.4)

  • #567E00

    #567E00

    oklch(54.3% 0.143 128.4)

  • #0073C0

    #0073C0

    oklch(54.3% 0.147 248.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC0456

    #CC0456

    oklch(54.2% 0.216 8.4)

  • #816F00

    #816F00

    oklch(54.2% 0.112 97.9)

  • #00817A

    #00817A

    oklch(54.4% 0.094 188.1)

  • #5B54E8

    #5B54E8

    oklch(54.3% 0.216 278.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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