#cc0000
#cc0000 converts to rgb(204, 0, 0) and hsl(0, 100%, 40%). Its nearest Tailwind CSS token is red-700 and it appears in one curated design style in the StyleKit library.
Conversions
WCAG contrast
| Background | Ratio | AA text | AA large | AAA text |
|---|---|---|---|---|
| white | 5.89:1 | pass | pass | fail |
| black | 3.57:1 | fail | pass | fail |
| slate-900 | 3.03:1 | fail | pass | fail |
| gray-100 | 5.35:1 | pass | pass | fail |
Ratios are computed from WCAG 2.x relative luminance. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1.
Design styles using this color
Tints and shades
Lightness ladder in HSL space, from the lightest tint to the darkest shade of #cc0000.
Similar colors in the library
Nearest swatches by perceptual OKLab distance across all curated style palettes.
AI prompt snippet
Use #cc0000 as the primary color, following the Constructivism style: rgb(204, 0, 0), nearest Tailwind token red-700. Keep text contrast at least 4.5:1 (this color scores 5.89:1 on white, 3.57:1 on black).
Paste this into ChatGPT, Claude, Cursor, or v0 to use #cc0000 with correct contrast constraints. Browse all palette colors.