{"datasetVersion":"1.0.0","slug":"carbon-black","name":"Carbon Black","hex":"#0C0C0C","rgb":[12,12,12],"hsl":[0,0,5],"luminance":0.0037,"contrast":{"black":1.07,"white":19.55},"ratings":{"blackText":"fail","whiteText":"AAA"},"wcag":{"AA":["#FFFFFF","#F5F5F5"],"AAA":["#FFFFFF","#F5F5F5"]},"narrative":"Carbon Black 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":19.55,"rating":"AAA"},{"label":"Soft white text","hex":"#F5F5F5","ratio":17.93,"rating":"AAA"}],"backgrounds":[{"label":"White","hex":"#FFFFFF","ratio":19.55,"rating":"AAA"},{"label":"White Smoke","hex":"#F5F5F5","ratio":17.93,"rating":"AAA"}],"borders":[]},"accessibilityAlternatives":[{"slug":"black","name":"Black","hex":"#000000","family":"gray","temperature":"neutral","tone":["dark","neutral"],"blackContrast":1,"whiteContrast":21,"maxContrast":21,"aaaTextOptions":["#FFFFFF","#F5F5F5"],"url":"https://www.colorsencyclopedia.com/wcag/black/"},{"slug":"matte-black","name":"Matte Black","hex":"#1A1A1A","family":"gray","temperature":"neutral","tone":["dark"],"blackContrast":1.21,"whiteContrast":17.41,"maxContrast":17.41,"aaaTextOptions":["#FFFFFF","#F5F5F5"],"url":"https://www.colorsencyclopedia.com/wcag/matte-black/"},{"slug":"carbon-fiber","name":"Carbon Fiber","hex":"#1C1C1C","family":"gray","temperature":"neutral","tone":["dark"],"blackContrast":1.23,"whiteContrast":17.05,"maxContrast":17.05,"aaaTextOptions":["#FFFFFF","#F5F5F5"],"url":"https://www.colorsencyclopedia.com/wcag/carbon-fiber/"},{"slug":"raisin","name":"Raisin","hex":"#242124","family":"gray","temperature":"neutral","tone":["dark"],"blackContrast":1.32,"whiteContrast":15.93,"maxContrast":15.93,"aaaTextOptions":["#FFFFFF","#F5F5F5"],"url":"https://www.colorsencyclopedia.com/wcag/raisin/"},{"slug":"rubber","name":"Rubber","hex":"#2A2725","family":"gray","temperature":"neutral","tone":["dark"],"blackContrast":1.42,"whiteContrast":14.83,"maxContrast":14.83,"aaaTextOptions":["#FFFFFF","#F5F5F5"],"url":"https://www.colorsencyclopedia.com/wcag/rubber/"}],"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/carbon-black.json","https://www.colorsencyclopedia.com/api/colors/carbon-black.json"],"url":"https://www.colorsencyclopedia.com/wcag/carbon-black/","colorUrl":"https://www.colorsencyclopedia.com/colors/carbon-black/","apiUrl":"https://www.colorsencyclopedia.com/api/wcag/carbon-black.json","generatedAt":"2026-07-23T19:04:03.399Z"}
