#CC312A

Closest named color: Dull Red (#BB3F3F). oklch(55.7% 0.193 28), rgb(204, 49, 42).

Aa

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

About this color

#CC312A is a medium-dark, vivid red. In OKLCH its lightness is 56%, its chroma 0.193 and its hue 28°. Its hue sits on the warm side of the wheel. The nearest named color is Dull Red (#BB3F3F), ΔE 0.037 away. White text reads best on it, at 5.19:1.

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.193)
Temperaturewarm
Nearest nameDull Red (#BB3F3F)
Black text4.04:1
White text5.19:1

Values

HEX#CC312A
RGBrgb(204, 49, 42)
HSLhsl(3, 66%, 48%)
OKLCHoklch(55.7% 0.193 28)

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 #CC312A 5.19:1 AA Lc -79.7 Fine for body text
Black text on #CC312A 4.04:1 AA large text Lc 29.8 Dividers and decoration only
#CC312A text on white 5.19:1 AA Lc 74.3 Content text, not long reading
#CC312A text on black 4.04:1 AA large text Lc -27.4 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

    #FDF3F1

    oklch(97.1% 0.011 31.1)

  2. Step 100

    100

    #FAE4E1

    oklch(93.6% 0.025 26.9)

  3. Step 200

    200

    #F8CEC8

    oklch(88.6% 0.048 27.6)

  4. Step 300

    300

    #F4ACA1

    oklch(81% 0.087 28.8)

  5. Step 400

    400

    #EA7C6F

    oklch(70.7% 0.138 28.1)

  6. Step 500

    500

    #E05448

    oklch(63% 0.177 28.1)

  7. Step 600

    600 (this color)

    #CC312A

    oklch(55.7% 0.193 28)

  8. Step 700

    700

    #B0211C

    oklch(49.2% 0.179 28.2)

  9. Step 800

    800

    #8F1F1A

    oklch(42.8% 0.149 28)

  10. Step 900

    900

    #73211B

    oklch(37.7% 0.116 28.1)

  11. Step 950

    950

    #441511

    oklch(27.1% 0.074 27.8)

Export this scale for Tailwind in the Tailwind colors tool

#CC312A 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)#6157270.207
Deuteranopia (no green cones)#8779230.189
Tritanopia (no blue cones)#E100310.047
Achromatopsia (no color)#6D6D6D0.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC312A

    #CC312A

    oklch(55.7% 0.193 28)

  • #008391

    #008391

    oklch(55.8% 0.096 207.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC312A

    #CC312A

    oklch(55.7% 0.193 28)

  • #C42F73

    #C42F73

    oklch(55.7% 0.192 358)

  • #AB5C00

    #AB5C00

    oklch(55.6% 0.133 58.3)

Open the analogous palette in the generator

Split complementary

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

  • #CC312A

    #CC312A

    oklch(55.7% 0.193 28)

  • #008773

    #008773

    oklch(55.8% 0.103 177.4)

  • #007CB3

    #007CB3

    oklch(55.7% 0.124 238.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC312A

    #CC312A

    oklch(55.7% 0.193 28)

  • #008B36

    #008B36

    oklch(55.5% 0.161 148.1)

  • #4466E2

    #4466E2

    oklch(55.6% 0.192 268)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC312A

    #CC312A

    oklch(55.7% 0.193 28)

  • #6D7D00

    #6D7D00

    oklch(55.7% 0.13 118.3)

  • #008391

    #008391

    oklch(55.8% 0.096 207.9)

  • #8450D3

    #8450D3

    oklch(55.6% 0.193 298.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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