Hex a RGB
Convierte colores hexadecimales de 3, 6 y 8 dígitos a RGB, RGBA y HSL en tu navegador.
Comprueba el contraste WCAG entre el color del texto y el del fondo, con aprobado/suspenso para AA y AAA.
Esta herramienta funciona en tu navegador. Los datos, archivos y valores generados se quedan en este dispositivo. Los favoritos y las herramientas recientes, si los usas, solo guardan nombres de herramientas en el almacenamiento local, nunca contraseñas, documentos ni contenido de códigos QR. Consulta la política de privacidad.
Por ahora, la guía detallada de esta herramienta (cómo usarla, ejemplos y preguntas frecuentes) está en inglés.
Compare two solid colors and show the WCAG 2 contrast ratio for normal and large text. Designers checking a button label against its background use it before they ship the pair. Black on white is 21:1, and a photograph behind the text is outside the calculation.
The ratio is 21:1, which meets every listed WCAG contrast criterion.
A pair such as #777777 on #999999 fails normal-text AA because the ratio is well below 4.5:1.
The tool uses WCAG 2 relative luminance. A pass means the pair meets the selected WCAG contrast criterion. Contrast is only one part of accessibility. Font size, weight, spacing and keyboard access still matter. The checker does not claim a design is universally accessible.
The result is the WCAG 2 contrast ratio of two colors the parser can read. A pass is not a full accessibility audit. Font size is not read from a stylesheet, and a color the parser rejects produces no ratio.
See the disclaimer for what these tools do not cover.
Convierte colores hexadecimales de 3, 6 y 8 dígitos a RGB, RGBA y HSL en tu navegador.
Elige un color con el selector del navegador y copia los valores HEX, RGB o HSL.
Crea degradados CSS lineales, radiales o cónicos, o texto con degradado, y copia el CSS o el HTML.
Calcula de forma aproximada los colores dominantes de una imagen JPG, PNG o WebP a partir de píxeles de muestra.
Ajusta desplazamiento, desenfoque, extensión y color, y copia un valor CSS de box-shadow.
Embellece JSON, minifícalo o comprueba que es válido. Los comentarios, las comas finales y las comillas simples fallan. No lo convierte a CSV.
Normal sample text
Large sample text
18.88:1
Foreground #111111 (rgb(17, 17, 17), hsl(0, 0%, 7%)) on #ffffff (rgb(255, 255, 255)).
WCAG 2.1 contrast uses relative luminance. Normal text needs 4.5:1 for AA and 7:1 for AAA. Large text (18pt or 14pt bold) needs 3:1 for AA and 4.5:1 for AAA.
A pass means the pair meets the selected WCAG contrast criterion. Contrast is only one part of accessibility. Spacing, size, motion and keyboard use still matter.