#CC2227

Closest named color: Cherry (#CF0234). oklch(54.5% 0.203 26.2), rgb(204, 34, 39).

Aa

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

About this color

#CC2227 is a medium-dark, vivid red. In OKLCH its lightness is 55%, its chroma 0.203 and its hue 26°. Its hue sits on the warm side of the wheel. The nearest named color is Cherry (#CF0234), ΔE 0.026 away. White text reads best on it, at 5.48:1.

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.203)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.82:1
White text5.48:1

Values

HEX#CC2227
RGBrgb(204, 34, 39)
HSLhsl(358, 71%, 47%)
OKLCHoklch(54.5% 0.203 26.2)

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 #CC2227 5.48:1 AA Lc -80.9 Fine for body text
Black text on #CC2227 3.82:1 AA large text Lc 28.6 Dividers and decoration only
#CC2227 text on white 5.48:1 AA Lc 75.5 Fine for body text
#CC2227 text on black 3.82:1 AA large text Lc -26.2 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

    #FEF3F1

    oklch(97.2% 0.012 29.9)

  2. Step 100

    100

    #FBE4E1

    oklch(93.7% 0.026 26.5)

  3. Step 200

    200

    #F9CDC8

    oklch(88.5% 0.05 25.7)

  4. Step 300

    300

    #F6AAA2

    oklch(80.9% 0.091 25.9)

  5. Step 400

    400

    #EE796F

    oklch(70.8% 0.146 26.4)

  6. Step 500

    500

    #E44F49

    oklch(63.1% 0.186 26.2)

  7. Step 600

    600 (this color)

    #CC2227

    oklch(54.5% 0.203 26.2)

  8. Step 700

    700

    #B3151D

    oklch(49% 0.189 26.2)

  9. Step 800

    800

    #92181A

    oklch(42.8% 0.157 26.4)

  10. Step 900

    900

    #751D1C

    oklch(37.7% 0.122 25.8)

  11. Step 950

    950

    #451311

    oklch(27% 0.077 26)

Export this scale for Tailwind in the Tailwind colors tool

#CC2227 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)#5B52250.222
Deuteranopia (no green cones)#84761E0.201
Tritanopia (no blue cones)#E100270.041
Achromatopsia (no color)#6969690.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC2227

    #CC2227

    oklch(54.5% 0.203 26.2)

  • #007F8B

    #007F8B

    oklch(54.5% 0.093 206.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC2227

    #CC2227

    oklch(54.5% 0.203 26.2)

  • #C32274

    #C32274

    oklch(54.6% 0.203 356.1)

  • #A95700

    #A95700

    oklch(54.5% 0.134 55.8)

Open the analogous palette in the generator

Split complementary

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

  • #CC2227

    #CC2227

    oklch(54.5% 0.203 26.2)

  • #00836E

    #00836E

    oklch(54.5% 0.102 176.2)

  • #0079AB

    #0079AB

    oklch(54.5% 0.118 236.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC2227

    #CC2227

    oklch(54.5% 0.203 26.2)

  • #00882B

    #00882B

    oklch(54.6% 0.166 146.2)

  • #3962E4

    #3962E4

    oklch(54.5% 0.203 266.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC2227

    #CC2227

    oklch(54.5% 0.203 26.2)

  • #6D7800

    #6D7800

    oklch(54.5% 0.124 116)

  • #007F8B

    #007F8B

    oklch(54.5% 0.093 206.4)

  • #7F4BD6

    #7F4BD6

    oklch(54.6% 0.203 296.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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