Color codes
- HEX
- #ff0000
- RGB
- rgb(255, 0, 0)
- HSL
- hsl(0 100% 50%)
- CMYK
- cmyk(0% 100% 100% 0%)
- OKLCH
- oklch(62.8% 0.258 29)
CSS named color
rgb(255, 0, 0)
4.00:1 on white
AA for large text only
5.25:1 on black
AA normal · AAA large text
red is written as #ff0000 in hex, rgb(255, 0, 0) in RGB and hsl(0 100% 50%) in HSL. Its lightness sits at 50%, which is why it reads aa for large text only against white.
Need the color from a screenshot instead? Use theimage color picker, or convert a value with the color code converter.