Color codes
- HEX
- #ff00ff
- RGB
- rgb(255, 0, 255)
- HSL
- hsl(300 100% 50%)
- CMYK
- cmyk(0% 100% 0% 0%)
- OKLCH
- oklch(70.2% 0.322 328)
CSS named color
rgb(255, 0, 255)
3.14:1 on white
AA for large text only
6.70:1 on black
AA normal · AAA large text
magenta is written as #ff00ff in hex, rgb(255, 0, 255) in RGB and hsl(300 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.