#CC1538

Closest named color: Cherry (#CF0234). oklch(54.1% 0.208 20), rgb(204, 21, 56).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.208)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.73:1
White text5.62:1

Values

HEX#CC1538
RGBrgb(204, 21, 56)
HSLhsl(349, 81%, 44%)
OKLCHoklch(54.1% 0.208 20)

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 #CC1538 5.62:1 AA Lc -81.3 Fine for body text
Black text on #CC1538 3.73:1 AA large text Lc 28.1 Dividers and decoration only
#CC1538 text on white 5.62:1 AA Lc 76.0 Fine for body text
#CC1538 text on black 3.73:1 AA large text Lc -25.8 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

    #FCE3E2

    oklch(93.6% 0.028 20.4)

  3. Step 200

    200

    #FACCCB

    oklch(88.5% 0.052 19.6)

  4. Step 300

    300

    #F7A8A8

    oklch(80.8% 0.094 19.3)

  5. Step 400

    400

    #EF7679

    oklch(70.7% 0.149 20.1)

  6. Step 500

    500

    #E64A57

    oklch(63.1% 0.192 20)

  7. Step 600

    600 (this color)

    #CC1538

    oklch(54.1% 0.208 20)

  8. Step 700

    700

    #B5082E

    oklch(49.1% 0.194 20.2)

  9. Step 800

    800

    #931127

    oklch(42.7% 0.161 20.1)

  10. Step 900

    900

    #761A24

    oklch(37.7% 0.126 20)

  11. Step 950

    950

    #461216

    oklch(27.1% 0.079 19.8)

Export this scale for Tailwind in the Tailwind colors tool

#CC1538 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)#554F380.232
Deuteranopia (no green cones)#8174320.210
Tritanopia (no blue cones)#E100270.044
Achromatopsia (no color)#6767670.210

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC1538

    #CC1538

    oklch(54.1% 0.208 20)

  • #007F84

    #007F84

    oklch(54.2% 0.092 199.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC1538

    #CC1538

    oklch(54.1% 0.208 20)

  • #BF1E80

    #BF1E80

    oklch(54.2% 0.209 349.9)

  • #AE5000

    #AE5000

    oklch(54.1% 0.143 50)

Open the analogous palette in the generator

Split complementary

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

  • #CC1538

    #CC1538

    oklch(54.1% 0.208 20)

  • #008365

    #008365

    oklch(54.2% 0.108 169.5)

  • #007AA1

    #007AA1

    oklch(54.2% 0.107 229.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC1538

    #CC1538

    oklch(54.1% 0.208 20)

  • #268500

    #268500

    oklch(54% 0.174 140)

  • #1165E5

    #1165E5

    oklch(54.1% 0.208 260)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC1538

    #CC1538

    oklch(54.1% 0.208 20)

  • #747400

    #747400

    oklch(54.1% 0.118 109.8)

  • #007F84

    #007F84

    oklch(54.2% 0.092 199.6)

  • #734CDC

    #734CDC

    oklch(54.1% 0.208 290.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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