Crimson Danger
Danger & AlertsHigh-visibility crimson red for error boundaries, destructive modal actions, and system alert banners.
About the Crimson Danger palette
High-visibility crimson red for error boundaries, destructive modal actions, and system alert banners. The scale is anchored at hue 25 in OKLCH, so every step keeps the same hue while lightness moves in perceptually even steps from 50 to 950. The 500 step (#d81327) is your base color. Shades 500-950 pass WCAG 2.1 AA against white and shades 50, 100, 200, 300, 400 pass against black, so use the light end for backgrounds and the dark end for text on light surfaces (or vice versa). Each value is copy-ready as oklch(), HEX, RGB or HSL.
11 colors · click a card to copy
cart writes to --color-crimson-danger-*
Shade Step Breakdown (50 to 950)
| Swatch | Shade Step | OKLCH CSS Value | sRGB Fallback | RGB | HSL | WCAG on Black | WCAG on White | Gamut |
|---|---|---|---|---|---|---|---|---|
| 50 | oklch(97.0% 0.014 25.0) | #fff2f0 | rgb(255, 242, 240) | hsl(5.92, 97.66%, 97.06%) | 19.21:1 | 1.09:1 | sRGB | |
| 100 | oklch(93.0% 0.035 25.0) | #ffe0dc | rgb(255, 224, 220) | hsl(5.75, 97.51%, 93.11%) | 16.95:1 | 1.24:1 | sRGB | |
| 200 | oklch(86.0% 0.074 25.0) | #febfb9 | rgb(254, 191, 185) | hsl(5.29, 97.56%, 86.05%) | 13.37:1 | 1.57:1 | sRGB | |
| 300 | oklch(76.0% 0.140 25.0) | #fe8b83 | rgb(254, 139, 131) | hsl(3.85, 97.81%, 75.47%) | 9.23:1 | 2.27:1 | sRGB | |
| 400 | oklch(64.0% 0.220 25.0) | #f53c41 | rgb(245, 60, 65) | hsl(358.62, 90.23%, 59.9%) | 5.61:1 | 3.75:1 | sRGB | |
| 500 | oklch(56.0% 0.220 25.0) | #d81327 | rgb(216, 19, 39) | hsl(353.69, 84.03%, 45.94%) | 4.04:1 | 5.2:1 | sRGB | |
| 600 | oklch(45.0% 0.179 25.0) | #a1071a | rgb(161, 7, 26) | hsl(352.78, 91.66%, 33.02%) | 2.56:1 | 8.2:1 | sRGB | |
| 700 | oklch(37.0% 0.147 25.0) | #7b0411 | rgb(123, 4, 17) | hsl(353.42, 93.84%, 24.94%) | 1.87:1 | 11.24:1 | sRGB | |
| 800 | oklch(28.0% 0.111 25.0) | #530208 | rgb(83, 2, 8) | hsl(355.35, 95.91%, 16.59%) | 1.38:1 | 15.22:1 | sRGB | |
| 900 | oklch(20.0% 0.080 25.0) | #320103 | rgb(50, 1, 3) | hsl(357.18, 97.6%, 9.85%) | 1.14:1 | 18.4:1 | sRGB | |
| 950 | oklch(13.0% 0.052 25.0) | #170001 | rgb(23, 0, 1) | hsl(358.36, 98.47%, 4.57%) | 1.04:1 | 20.25:1 | sRGB |
Tailwind v4 @theme Snippet for Crimson Danger
Copy into global.css
@theme {
--color-crimson-danger-50: oklch(97.0% 0.014 25.0);
--color-crimson-danger-100: oklch(93.0% 0.035 25.0);
--color-crimson-danger-200: oklch(86.0% 0.074 25.0);
--color-crimson-danger-300: oklch(76.0% 0.140 25.0);
--color-crimson-danger-400: oklch(64.0% 0.220 25.0);
--color-crimson-danger-500: oklch(56.0% 0.220 25.0);
--color-crimson-danger-600: oklch(45.0% 0.179 25.0);
--color-crimson-danger-700: oklch(37.0% 0.147 25.0);
--color-crimson-danger-800: oklch(28.0% 0.111 25.0);
--color-crimson-danger-900: oklch(20.0% 0.080 25.0);
--color-crimson-danger-950: oklch(13.0% 0.052 25.0);
}Convert Crimson Danger shades
Working with these shades in another format? Use the matching converter — the same values you see above, converted instantly with live gamut detection.