#CC312B

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

Aa

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

About this color

#CC312B 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#CC312B
RGBrgb(204, 49, 43)
HSLhsl(2, 65%, 48%)
OKLCHoklch(55.7% 0.193 27.7)

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

    #F4ACA2

    oklch(81% 0.087 27.9)

  5. Step 400

    400

    #EA7C6F

    oklch(70.7% 0.138 28.1)

  6. Step 500

    500

    #E05449

    oklch(63% 0.177 27.7)

  7. Step 600

    600 (this color)

    #CC312B

    oklch(55.7% 0.193 27.7)

  8. Step 700

    700

    #B0211D

    oklch(49.2% 0.179 28)

  9. Step 800

    800

    #8F1F1B

    oklch(42.8% 0.148 27.6)

  10. Step 900

    900

    #73211C

    oklch(37.8% 0.116 27.6)

  11. Step 950

    950

    #441511

    oklch(27.1% 0.074 27.8)

Export this scale for Tailwind in the Tailwind colors tool

#CC312B 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)#6157280.207
Deuteranopia (no green cones)#8779240.189
Tritanopia (no blue cones)#E100320.047
Achromatopsia (no color)#6D6D6D0.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC312B

    #CC312B

    oklch(55.7% 0.193 27.7)

  • #008390

    #008390

    oklch(55.7% 0.096 207)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC312B

    #CC312B

    oklch(55.7% 0.193 27.7)

  • #C42F74

    #C42F74

    oklch(55.7% 0.192 357.6)

  • #AC5C00

    #AC5C00

    oklch(55.8% 0.134 58)

Open the analogous palette in the generator

Split complementary

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

  • #CC312B

    #CC312B

    oklch(55.7% 0.193 27.7)

  • #008773

    #008773

    oklch(55.8% 0.103 177.4)

  • #007CB2

    #007CB2

    oklch(55.6% 0.123 237.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC312B

    #CC312B

    oklch(55.7% 0.193 27.7)

  • #008C35

    #008C35

    oklch(55.8% 0.163 147.8)

  • #4366E2

    #4366E2

    oklch(55.6% 0.193 267.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC312B

    #CC312B

    oklch(55.7% 0.193 27.7)

  • #6E7D00

    #6E7D00

    oklch(55.8% 0.13 117.8)

  • #008390

    #008390

    oklch(55.7% 0.096 207)

  • #8351D3

    #8351D3

    oklch(55.7% 0.192 297.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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