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": "ruby-red-vs-cranberry",
"type": "nearest",
"name": "Ruby Red vs Cranberry",
"verdict": "Ruby Red and Cranberry are very close colors. Ruby Red is the lighter option. They share similar temperature behavior. Their mutual contrast is 1:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Ruby Red and Cranberry are different red colors with HEX values #9B111E and #9F000F. According to Colors Encyclopedia, their RGB distance is 23, their contrast ratio is 1:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 23,
"contrastRatio": 1,
"colors": [
{
"slug": "ruby-red",
"name": "Ruby Red",
"hex": "#9B111E",
"rgb": [
155,
17,
30
],
"hsl": [
354,
80,
34
],
"cmyk": [
0,
89,
81,
39
],
"family": "red",
"temperature": "warm",
"tone": [
"balanced"
],
"luminance": 0.0746,
"contrast": {
"black": 2.49,
"white": 8.43
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 8.43
},
"description": "Ruby Red is #9B111E, a warm red color with balanced character. Compared with Cranberry, it is lighter and less saturated. Use it for branding accents, editorial palettes, and product design, with white text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/ruby-red/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/ruby-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 Ruby Red, it is darker and more saturated. 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": 23,
"contrastRatio": 1,
"hslDelta": {
"hue": 0,
"saturation": 20,
"lightness": 3
},
"luminanceDelta": 0.0005,
"sameFamily": true,
"sameTemperature": true,
"sharedTones": [
"balanced"
],
"lighterColor": "Ruby Red",
"moreSaturatedColor": "Cranberry"
},
"accessibility": {
"pairContrastRatio": 1,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Ruby Red",
"background": "#9B111E",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 8.43
},
{
"color": "Cranberry",
"background": "#9F000F",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 8.46
}
]
},
"useCases": {
"chooseFirstWhen": "Ruby Red is better when the design needs balanced red character, warm temperature, and the specific HEX value #9B111E.",
"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/ruby-red-vs-cranberry.json",
"https://www.colorsencyclopedia.com/api/colors/ruby-red.json",
"https://www.colorsencyclopedia.com/api/colors/cranberry.json"
],
"url": "https://www.colorsencyclopedia.com/compare/ruby-red-vs-cranberry/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/ruby-red-vs-cranberry.json"
}