#f0004a
#f0004a converts to rgb(240, 0, 74) and hsl(342, 100%, 47%). Its nearest Tailwind CSS token is rose-600.
01
Conversions
02
WCAG contrast
| Background | Ratio | AA text | AA large | AAA text |
|---|---|---|---|---|
| white | 4.37:1 | fail | pass | fail |
| black | 4.80:1 | pass | pass | fail |
| slate-900 | 4.08:1 | fail | pass | fail |
| gray-100 | 3.97:1 | fail | 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.
03
Tints and shades
Lightness ladder in HSL space, from the lightest tint to the darkest shade of #f0004a.
04
Similar colors in the library
Nearest swatches by perceptual OKLab distance across all curated style palettes.
05
AI prompt snippet
Use #f0004a (rgb(240, 0, 74), nearest Tailwind token rose-600) as an accent. Keep text contrast at least 4.5:1 — this color scores 4.37:1 on white and 4.8:1 on black.
Paste this into ChatGPT, Claude, Cursor, or v0 to use #f0004a with correct contrast constraints. Browse all palette colors.