#CC1E31

Closest named color: Cherry (#CF0234). oklch(54.4% 0.204 23), rgb(204, 30, 49).

Aa

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

About this color

#CC1E31 is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.204 and its hue 23°. Its hue sits on the warm side of the wheel. The nearest named color is Cherry (#CF0234), ΔE 0.016 away. White text reads best on it, at 5.52:1.

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.204)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.79:1
White text5.52:1

Values

HEX#CC1E31
RGBrgb(204, 30, 49)
HSLhsl(353, 74%, 46%)
OKLCHoklch(54.4% 0.204 23)

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 #CC1E31 5.52:1 AA Lc -81.0 Fine for body text
Black text on #CC1E31 3.79:1 AA large text Lc 28.4 Dividers and decoration only
#CC1E31 text on white 5.52:1 AA Lc 75.7 Fine for body text
#CC1E31 text on black 3.79:1 AA large text Lc -26.1 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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FBE3E2

    oklch(93.5% 0.026 20.5)

  3. Step 200

    200

    #F9CDC9

    oklch(88.5% 0.05 24.2)

  4. Step 300

    300

    #F7A9A5

    oklch(80.9% 0.093 22.6)

  5. Step 400

    400

    #EE7774

    oklch(70.6% 0.147 23)

  6. Step 500

    500

    #E54D50

    oklch(63.1% 0.188 23.2)

  7. Step 600

    600 (this color)

    #CC1E31

    oklch(54.4% 0.204 23)

  8. Step 700

    700

    #B41127

    oklch(49.2% 0.19 23.1)

  9. Step 800

    800

    #921622

    oklch(42.8% 0.157 23)

  10. Step 900

    900

    #751C20

    oklch(37.6% 0.123 23.1)

  11. Step 950

    950

    #451313

    oklch(27% 0.077 23.8)

Export this scale for Tailwind in the Tailwind colors tool

#CC1E31 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)#5951300.225
Deuteranopia (no green cones)#83752A0.204
Tritanopia (no blue cones)#E100280.040
Achromatopsia (no color)#6969690.206

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC1E31

    #CC1E31

    oklch(54.4% 0.204 23)

  • #007F88

    #007F88

    oklch(54.4% 0.093 203.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC1E31

    #CC1E31

    oklch(54.4% 0.204 23)

  • #C1227A

    #C1227A

    oklch(54.5% 0.204 353.1)

  • #AC5400

    #AC5400

    oklch(54.5% 0.138 52.9)

Open the analogous palette in the generator

Split complementary

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

  • #CC1E31

    #CC1E31

    oklch(54.4% 0.204 23)

  • #00836A

    #00836A

    oklch(54.4% 0.104 173.1)

  • #007AA6

    #007AA6

    oklch(54.5% 0.112 232.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC1E31

    #CC1E31

    oklch(54.4% 0.204 23)

  • #00880C

    #00880C

    oklch(54.3% 0.182 143)

  • #2A64E4

    #2A64E4

    oklch(54.4% 0.204 263)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC1E31

    #CC1E31

    oklch(54.4% 0.204 23)

  • #717700

    #717700

    oklch(54.6% 0.122 113.2)

  • #007F88

    #007F88

    oklch(54.4% 0.093 203.5)

  • #794CD9

    #794CD9

    oklch(54.4% 0.204 293)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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