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": "peat-vs-jet",
"type": "nearest",
"name": "Peat vs Jet",
"verdict": "Peat and Jet are very close colors. Jet is the lighter option. Peat reads warmer. Their mutual contrast is 1.03:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Peat and Jet are different red and gray colors with HEX values #3B2F2F and #343434. According to Colors Encyclopedia, their RGB distance is 9.9, their contrast ratio is 1.03:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 9.9,
"contrastRatio": 1.03,
"colors": [
{
"slug": "peat",
"name": "Peat",
"hex": "#3B2F2F",
"rgb": [
59,
47,
47
],
"hsl": [
0,
11,
21
],
"cmyk": [
0,
20,
20,
77
],
"family": "red",
"temperature": "warm",
"tone": [
"dark"
],
"luminance": 0.0317,
"contrast": {
"black": 1.63,
"white": 12.85
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 12.85
},
"description": "Peat is #3B2F2F, a warm red color with dark character. Compared with Jet, it is darker and more saturated. Use it for earth-tone palettes, interior design, and material-inspired branding, with white text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/peat/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/peat.json"
},
{
"slug": "jet",
"name": "Jet",
"hex": "#343434",
"rgb": [
52,
52,
52
],
"hsl": [
0,
0,
20
],
"cmyk": [
0,
0,
0,
80
],
"family": "gray",
"temperature": "neutral",
"tone": [
"dark"
],
"luminance": 0.0343,
"contrast": {
"black": 1.69,
"white": 12.46
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 12.46
},
"description": "Jet is #343434, a neutral gray color with dark character. Compared with Peat, it is lighter and less saturated. Use it for backgrounds, typography, and product surfaces, with white text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/jet/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/jet.json"
}
],
"differences": {
"rgbDistance": 9.9,
"contrastRatio": 1.03,
"hslDelta": {
"hue": 0,
"saturation": 11,
"lightness": 1
},
"luminanceDelta": 0.0026,
"sameFamily": false,
"sameTemperature": false,
"sharedTones": [
"dark"
],
"lighterColor": "Jet",
"moreSaturatedColor": "Peat"
},
"accessibility": {
"pairContrastRatio": 1.03,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Peat",
"background": "#3B2F2F",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 12.85
},
{
"color": "Jet",
"background": "#343434",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 12.46
}
]
},
"useCases": {
"chooseFirstWhen": "Peat is better when the design needs dark red character, warm temperature, and the specific HEX value #3B2F2F.",
"chooseSecondWhen": "Jet is better when the design needs dark gray character, neutral temperature, and the specific HEX value #343434.",
"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/peat-vs-jet.json",
"https://www.colorsencyclopedia.com/api/colors/peat.json",
"https://www.colorsencyclopedia.com/api/colors/jet.json"
],
"url": "https://www.colorsencyclopedia.com/compare/peat-vs-jet/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/peat-vs-jet.json"
}