{"datasetVersion":"1.0.0","slug":"cranberry","name":"Cranberry","hex":"#9F000F","rgb":[159,0,15],"hsl":[354,100,31],"luminance":0.0741,"contrast":{"black":2.48,"white":8.46},"ratings":{"blackText":"fail","whiteText":"AAA"},"wcag":{"AA":["#FFFFFF","#F5F5F5"],"AAA":["#FFFFFF","#F5F5F5"]},"narrative":"Cranberry 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":8.46,"rating":"AAA"},{"label":"Soft white text","hex":"#F5F5F5","ratio":7.76,"rating":"AAA"}],"backgrounds":[{"label":"White","hex":"#FFFFFF","ratio":8.46,"rating":"AAA"},{"label":"White Smoke","hex":"#F5F5F5","ratio":7.76,"rating":"AAA"}],"borders":[]},"accessibilityAlternatives":[{"slug":"dark-red","name":"Dark Red","hex":"#8B0000","family":"red","temperature":"warm","tone":["balanced"],"blackContrast":2.1,"whiteContrast":10.01,"maxContrast":10.01,"aaaTextOptions":["#FFFFFF","#F5F5F5"],"url":"https://www.colorsencyclopedia.com/wcag/dark-red/"},{"slug":"carmine","name":"Carmine","hex":"#960018","family":"red","temperature":"warm","tone":["balanced"],"blackContrast":2.31,"whiteContrast":9.09,"maxContrast":9.09,"aaaTextOptions":["#FFFFFF","#F5F5F5"],"url":"https://www.colorsencyclopedia.com/wcag/carmine/"},{"slug":"crimson-red","name":"Crimson Red","hex":"#990000","family":"red","temperature":"warm","tone":["balanced"],"blackContrast":2.35,"whiteContrast":8.92,"maxContrast":8.92,"aaaTextOptions":["#FFFFFF","#F5F5F5"],"url":"https://www.colorsencyclopedia.com/wcag/crimson-red/"},{"slug":"ruby-red","name":"Ruby Red","hex":"#9B111E","family":"red","temperature":"warm","tone":["balanced"],"blackContrast":2.49,"whiteContrast":8.43,"maxContrast":8.43,"aaaTextOptions":["#FFFFFF","#F5F5F5"],"url":"https://www.colorsencyclopedia.com/wcag/ruby-red/"},{"slug":"anodized-red","name":"Anodized Red","hex":"#B00020","family":"red","temperature":"warm","tone":["balanced"],"blackContrast":2.87,"whiteContrast":7.33,"maxContrast":7.33,"aaaTextOptions":["#FFFFFF"],"url":"https://www.colorsencyclopedia.com/wcag/anodized-red/"}],"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/cranberry.json","https://www.colorsencyclopedia.com/api/colors/cranberry.json"],"url":"https://www.colorsencyclopedia.com/wcag/cranberry/","colorUrl":"https://www.colorsencyclopedia.com/colors/cranberry/","apiUrl":"https://www.colorsencyclopedia.com/api/wcag/cranberry.json","generatedAt":"2026-07-23T19:04:03.408Z"}
