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": "raspberry-vs-crimson",
"type": "nearest",
"name": "Raspberry vs Crimson",
"verdict": "Raspberry and Crimson are visually related colors. Raspberry is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.06:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Raspberry and Crimson are different pink and red colors with HEX values #E30B5D and #DC143C. According to Colors Encyclopedia, their RGB distance is 34.9, their contrast ratio is 1.06:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 34.9,
"contrastRatio": 1.06,
"colors": [
{
"slug": "raspberry",
"name": "Raspberry",
"hex": "#E30B5D",
"rgb": [
227,
11,
93
],
"hsl": [
337,
91,
47
],
"cmyk": [
0,
95,
59,
11
],
"family": "pink",
"temperature": "warm",
"tone": [
"vibrant"
],
"luminance": 0.1736,
"contrast": {
"black": 4.47,
"white": 4.7
},
"wcag": {
"AA": [
"#FFFFFF"
],
"AAA": []
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 4.7
},
"description": "Raspberry is #E30B5D, a warm pink color with vibrant character. Compared with Crimson, it is lighter 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/raspberry/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/raspberry.json"
},
{
"slug": "crimson",
"name": "Crimson",
"hex": "#DC143C",
"rgb": [
220,
20,
60
],
"hsl": [
348,
83,
47
],
"cmyk": [
0,
91,
73,
14
],
"family": "red",
"temperature": "warm",
"tone": [
"vibrant"
],
"luminance": 0.1604,
"contrast": {
"black": 4.21,
"white": 4.99
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": []
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 4.99
},
"description": "Crimson is #DC143C, a warm red color with vibrant character. Compared with Raspberry, it is darker and less saturated. Use it for web design, css color systems, and ui prototyping, with white text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/crimson/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/crimson.json"
}
],
"differences": {
"rgbDistance": 34.9,
"contrastRatio": 1.06,
"hslDelta": {
"hue": 11,
"saturation": 8,
"lightness": 0
},
"luminanceDelta": 0.0132,
"sameFamily": false,
"sameTemperature": true,
"sharedTones": [
"vibrant"
],
"lighterColor": "Raspberry",
"moreSaturatedColor": "Raspberry"
},
"accessibility": {
"pairContrastRatio": 1.06,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Raspberry",
"background": "#E30B5D",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 4.7
},
{
"color": "Crimson",
"background": "#DC143C",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 4.99
}
]
},
"useCases": {
"chooseFirstWhen": "Raspberry is better when the design needs vibrant pink character, warm temperature, and the specific HEX value #E30B5D.",
"chooseSecondWhen": "Crimson is better when the design needs vibrant red character, warm temperature, and the specific HEX value #DC143C.",
"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/raspberry-vs-crimson.json",
"https://www.colorsencyclopedia.com/api/colors/raspberry.json",
"https://www.colorsencyclopedia.com/api/colors/crimson.json"
],
"url": "https://www.colorsencyclopedia.com/compare/raspberry-vs-crimson/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/raspberry-vs-crimson.json"
}