{"datasetVersion":"1.0.0","slug":"gunmetal","name":"Gunmetal","hex":"#2A3439","rgb":[42,52,57],"hsl":[200,15,19],"luminance":0.0324,"contrast":{"black":1.65,"white":12.74},"ratings":{"blackText":"fail","whiteText":"AAA"},"wcag":{"AA":["#FFFFFF","#F5F5F5"],"AAA":["#FFFFFF","#F5F5F5"]},"narrative":"Gunmetal has strong WCAG behavior because it reaches AAA contrast with #FFFFFF and #F5F5F5 text. It can be used for normal text, badges, compact UI, and interface components when paired with the listed foreground colors.","warnings":["Very dark surfaces need careful hover, focus, and disabled-state treatment.","Avoid placing text over photos, gradients, or translucent overlays without retesting the final composite color."],"safePairings":{"text":[{"label":"White text","hex":"#FFFFFF","ratio":12.74,"rating":"AAA"},{"label":"Soft white text","hex":"#F5F5F5","ratio":11.69,"rating":"AAA"}],"backgrounds":[{"label":"White","hex":"#FFFFFF","ratio":12.74,"rating":"AAA"},{"label":"White Smoke","hex":"#F5F5F5","ratio":11.69,"rating":"AAA"}],"borders":[]},"accessibilityAlternatives":[{"slug":"asphalt","name":"Asphalt","hex":"#2B2B2B","family":"gray","temperature":"neutral","tone":["dark"],"blackContrast":1.48,"whiteContrast":14.15,"maxContrast":14.15,"aaaTextOptions":["#FFFFFF","#F5F5F5"],"url":"https://www.colorsencyclopedia.com/wcag/asphalt/"},{"slug":"charcoal-blue","name":"Charcoal Blue","hex":"#263238","family":"blue","temperature":"cool","tone":["dark"],"blackContrast":1.6,"whiteContrast":13.16,"maxContrast":13.16,"aaaTextOptions":["#FFFFFF","#F5F5F5"],"url":"https://www.colorsencyclopedia.com/wcag/charcoal-blue/"},{"slug":"jet","name":"Jet","hex":"#343434","family":"gray","temperature":"neutral","tone":["dark"],"blackContrast":1.69,"whiteContrast":12.46,"maxContrast":12.46,"aaaTextOptions":["#FFFFFF","#F5F5F5"],"url":"https://www.colorsencyclopedia.com/wcag/jet/"},{"slug":"onyx","name":"Onyx","hex":"#353839","family":"gray","temperature":"neutral","tone":["dark"],"blackContrast":1.78,"whiteContrast":11.82,"maxContrast":11.82,"aaaTextOptions":["#FFFFFF","#F5F5F5"],"url":"https://www.colorsencyclopedia.com/wcag/onyx/"},{"slug":"graphite","name":"Graphite","hex":"#383838","family":"gray","temperature":"neutral","tone":["dark"],"blackContrast":1.79,"whiteContrast":11.73,"maxContrast":11.73,"aaaTextOptions":["#FFFFFF","#F5F5F5"],"url":"https://www.colorsencyclopedia.com/wcag/graphite/"}],"componentGuidance":[{"component":"Buttons","guidance":"Use only with AA-passing foreground text and visible focus states."},{"component":"Badges","guidance":"Works best with bold labels and enough padding around text."},{"component":"Cards","guidance":"Use as a surface when paired with a tested text color and clear border."},{"component":"Alerts","guidance":"Pair with icons or labels; do not rely on color alone."},{"component":"Form fields","guidance":"Use for borders or focus rings only when contrast remains visible."}],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/wcag/gunmetal.json","https://www.colorsencyclopedia.com/api/colors/gunmetal.json"],"url":"https://www.colorsencyclopedia.com/wcag/gunmetal/","colorUrl":"https://www.colorsencyclopedia.com/colors/gunmetal/","apiUrl":"https://www.colorsencyclopedia.com/api/wcag/gunmetal.json","generatedAt":"2026-07-23T19:04:03.409Z"}
