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": "titanium-vs-gray",
"type": "nearest",
"name": "Titanium vs Gray",
"verdict": "Titanium and Gray are very close colors. Titanium is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.08:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Titanium and Gray are different gray colors with HEX values #878681 and #808080. According to Colors Encyclopedia, their RGB distance is 9.3, their contrast ratio is 1.08:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 9.3,
"contrastRatio": 1.08,
"colors": [
{
"slug": "titanium",
"name": "Titanium",
"hex": "#878681",
"rgb": [
135,
134,
129
],
"hsl": [
50,
2,
52
],
"cmyk": [
0,
1,
4,
47
],
"family": "gray",
"temperature": "neutral",
"tone": [
"muted"
],
"luminance": 0.2379,
"contrast": {
"black": 5.76,
"white": 3.65
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A"
],
"AAA": []
},
"bestText": {
"text": "#000000",
"label": "black text",
"ratio": 5.76
},
"description": "Titanium is #878681, a neutral gray color with muted character. Compared with Gray, it is lighter and more saturated. Use it for metallic palettes, product finishes, and premium packaging, with black text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/titanium/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/titanium.json"
},
{
"slug": "gray",
"name": "Gray",
"hex": "#808080",
"rgb": [
128,
128,
128
],
"hsl": [
0,
0,
50
],
"cmyk": [
0,
0,
0,
50
],
"family": "gray",
"temperature": "neutral",
"tone": [
"muted"
],
"luminance": 0.2159,
"contrast": {
"black": 5.32,
"white": 3.95
},
"wcag": {
"AA": [
"#000000"
],
"AAA": []
},
"bestText": {
"text": "#000000",
"label": "black text",
"ratio": 5.32
},
"description": "Gray is #808080, a neutral gray color with muted character. Compared with Titanium, it is darker and less saturated. 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/gray/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/gray.json"
}
],
"differences": {
"rgbDistance": 9.3,
"contrastRatio": 1.08,
"hslDelta": {
"hue": 50,
"saturation": 2,
"lightness": 2
},
"luminanceDelta": 0.022,
"sameFamily": true,
"sameTemperature": true,
"sharedTones": [
"muted"
],
"lighterColor": "Titanium",
"moreSaturatedColor": "Titanium"
},
"accessibility": {
"pairContrastRatio": 1.08,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Titanium",
"background": "#878681",
"foreground": "#000000",
"label": "black text",
"ratio": 5.76
},
{
"color": "Gray",
"background": "#808080",
"foreground": "#000000",
"label": "black text",
"ratio": 5.32
}
]
},
"useCases": {
"chooseFirstWhen": "Titanium is better when the design needs muted gray character, neutral temperature, and the specific HEX value #878681.",
"chooseSecondWhen": "Gray is better when the design needs muted gray character, neutral temperature, and the specific HEX value #808080.",
"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/titanium-vs-gray.json",
"https://www.colorsencyclopedia.com/api/colors/titanium.json",
"https://www.colorsencyclopedia.com/api/colors/gray.json"
],
"url": "https://www.colorsencyclopedia.com/compare/titanium-vs-gray/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/titanium-vs-gray.json"
}