colorsBoth named color records with HEX, RGB, HSL, CMYK, luminance, WCAG, and links
differencesRGB distance, HSL deltas, luminance delta, contrast, and shared attributes
accessibilityPair contrast and safer text choices for each color
useCasesWhen to choose each color and when to use them together
relatedApiMachine-readable comparison and color endpoints
Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "anodized-red-vs-cranberry",
"type": "nearest",
"name": "Anodized Red vs Cranberry",
"verdict": "Anodized Red and Cranberry are very close colors. Anodized Red is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.15:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Anodized Red and Cranberry are different red colors with HEX values #B00020 and #9F000F. According to Colors Encyclopedia, their RGB distance is 24, their contrast ratio is 1.15:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 24,
"contrastRatio": 1.15,
"colors": [
{
"slug": "anodized-red",
"name": "Anodized Red",
"hex": "#B00020",
"rgb": [
176,
0,
32
],
"hsl": [
349,
100,
35
],
"cmyk": [
0,
100,
82,
31
],
"family": "red",
"temperature": "warm",
"tone": [
"balanced"
],
"luminance": 0.0933,
"contrast": {
"black": 2.87,
"white": 7.33
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF"
]
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 7.33
},
"description": "Anodized Red is #B00020, a warm red color with balanced character. Compared with Cranberry, it is lighter and similar in saturation. Use it for industrial design, safety systems, and hardware palettes, with white text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/anodized-red/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/anodized-red.json"
},
{
"slug": "cranberry",
"name": "Cranberry",
"hex": "#9F000F",
"rgb": [
159,
0,
15
],
"hsl": [
354,
100,
31
],
"cmyk": [
0,
100,
91,
38
],
"family": "red",
"temperature": "warm",
"tone": [
"balanced"
],
"luminance": 0.0741,
"contrast": {
"black": 2.48,
"white": 8.46
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 8.46
},
"description": "Cranberry is #9F000F, a warm red color with balanced character. Compared with Anodized Red, it is darker and similar in saturation. Use it for branding accents, editorial palettes, and product design, with white text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/cranberry/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/cranberry.json"
}
],
"differences": {
"rgbDistance": 24,
"contrastRatio": 1.15,
"hslDelta": {
"hue": 5,
"saturation": 0,
"lightness": 4
},
"luminanceDelta": 0.0192,
"sameFamily": true,
"sameTemperature": true,
"sharedTones": [
"balanced"
],
"lighterColor": "Anodized Red",
"moreSaturatedColor": "Anodized Red"
},
"accessibility": {
"pairContrastRatio": 1.15,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Anodized Red",
"background": "#B00020",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 7.33
},
{
"color": "Cranberry",
"background": "#9F000F",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 8.46
}
]
},
"useCases": {
"chooseFirstWhen": "Anodized Red is better when the design needs balanced red character, warm temperature, and the specific HEX value #B00020.",
"chooseSecondWhen": "Cranberry is better when the design needs balanced red character, warm temperature, and the specific HEX value #9F000F.",
"useTogetherWhen": "Use these colors together as related palette neighbors, subtle material differences, or tonal alternatives rather than readable foreground/background pairs."
},
"relatedApi": [
"https://www.colorsencyclopedia.com/api/compare/anodized-red-vs-cranberry.json",
"https://www.colorsencyclopedia.com/api/colors/anodized-red.json",
"https://www.colorsencyclopedia.com/api/colors/cranberry.json"
],
"url": "https://www.colorsencyclopedia.com/compare/anodized-red-vs-cranberry/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/anodized-red-vs-cranberry.json"
}