#cf222e
#cf222e converts to rgb(207, 34, 46) and hsl(356, 72%, 47%). Its nearest Tailwind CSS token is rose-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.36:1 | pass | pass | fail |
| black | 3.92:1 | fail | pass | fail |
| slate-900 | 3.33:1 | fail | pass | fail |
| gray-100 | 4.87: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 #cf222e.
Similar colors in the library
Nearest swatches by perceptual OKLab distance across all curated style palettes.
AI prompt snippet
Use #cf222e as the accent color, following the GitHub Style style: rgb(207, 34, 46), nearest Tailwind token rose-700. Keep text contrast at least 4.5:1 (this color scores 5.36:1 on white, 3.92:1 on black).
Paste this into ChatGPT, Claude, Cursor, or v0 to use #cf222e with correct contrast constraints. Browse all palette colors.