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": "coral-vs-tomato",
"type": "nearest",
"name": "Coral vs Tomato",
"verdict": "Coral and Tomato are visually related colors. Coral is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.18:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Coral and Tomato are different orange and red colors with HEX values #FF7F50 and #FF6347. According to Colors Encyclopedia, their RGB distance is 29.4, their contrast ratio is 1.18:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 29.4,
"contrastRatio": 1.18,
"colors": [
{
"slug": "coral",
"name": "Coral",
"hex": "#FF7F50",
"rgb": [
255,
127,
80
],
"hsl": [
16,
100,
66
],
"cmyk": [
0,
50,
69,
0
],
"family": "orange",
"temperature": "warm",
"tone": [
"vibrant",
"bright"
],
"luminance": 0.3702,
"contrast": {
"black": 8.4,
"white": 2.5
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A"
],
"AAA": [
"#000000"
]
},
"bestText": {
"text": "#000000",
"label": "black text",
"ratio": 8.4
},
"description": "Coral is #FF7F50, a warm orange color with vibrant and bright character. Compared with Tomato, it is lighter and similar in saturation. Use it for calls to action, summer palettes, and friendly branding, with black text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/coral/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/coral.json"
},
{
"slug": "tomato",
"name": "Tomato",
"hex": "#FF6347",
"rgb": [
255,
99,
71
],
"hsl": [
9,
100,
64
],
"cmyk": [
0,
61,
72,
0
],
"family": "red",
"temperature": "warm",
"tone": [
"vibrant"
],
"luminance": 0.3064,
"contrast": {
"black": 7.13,
"white": 2.95
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A"
],
"AAA": [
"#000000"
]
},
"bestText": {
"text": "#000000",
"label": "black text",
"ratio": 7.13
},
"description": "Tomato is #FF6347, a warm red color with vibrant character. Compared with Coral, it is darker and similar in saturation. Use it for web design, css color systems, and ui prototyping, with black text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/tomato/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/tomato.json"
}
],
"differences": {
"rgbDistance": 29.4,
"contrastRatio": 1.18,
"hslDelta": {
"hue": 7,
"saturation": 0,
"lightness": 2
},
"luminanceDelta": 0.0638,
"sameFamily": false,
"sameTemperature": true,
"sharedTones": [
"vibrant"
],
"lighterColor": "Coral",
"moreSaturatedColor": "Coral"
},
"accessibility": {
"pairContrastRatio": 1.18,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Coral",
"background": "#FF7F50",
"foreground": "#000000",
"label": "black text",
"ratio": 8.4
},
{
"color": "Tomato",
"background": "#FF6347",
"foreground": "#000000",
"label": "black text",
"ratio": 7.13
}
]
},
"useCases": {
"chooseFirstWhen": "Coral is better when the design needs vibrant and bright orange character, warm temperature, and the specific HEX value #FF7F50.",
"chooseSecondWhen": "Tomato is better when the design needs vibrant red character, warm temperature, and the specific HEX value #FF6347.",
"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/coral-vs-tomato.json",
"https://www.colorsencyclopedia.com/api/colors/coral.json",
"https://www.colorsencyclopedia.com/api/colors/tomato.json"
],
"url": "https://www.colorsencyclopedia.com/compare/coral-vs-tomato/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/coral-vs-tomato.json"
}