HEX atlas value

#8D170C

#8D170C is a warm red HEX color close to Ruby Red. According to Colors Encyclopedia, it converts to RGB 141, 23, 12, HSL 5, 84%, 30%, has luminance 0.063, and belongs to the balanced group.

#8D170C Sample readable text
HEX #8D170C
RGB rgb(141, 23, 12)
HSL hsl(5 84% 30%)
CMYK cmyk(0, 84, 91, 45)
Luminance 0.063
Contrast Black 2.26:1White 9.29:1

CSS

--color-8d170c: #8D170C;
.background-8d170c { background-color: #8D170C; }
.text-8d170c { color: #8D170C; }

Machine-readable data

Machine-Readable HEX Data (JSON)

Structured HEX color data for conversion, WCAG checks, CSS generation, automation, and AI ingestion.

AI-Ready Dataset v1.0.0
Luminance0.063
Black text2.26:1AA Fail
White text9.29:1AA Pass
hexCanonical HEX value
rgbRed, green, blue channels
hslHue, saturation, lightness
cmykApproximate print conversion
wcagAA and AAA contrast options
harmoniesMathematical harmony sets
variantsGenerated tone variants
nearestColorsKnowledge graph neighbors
Download JSON Open API
Structured sections
Color systems
{"hex":"#8D170C","rgb":[141,23,12],"hsl":[5,84,30],"cmyk":[0,84,91,45],"luminance":0.063,"contrast":{"black":2.26,"white":9.29}}
WCAG
{"AA":["#FFFFFF","#F5F5F5"],"AAA":["#FFFFFF","#F5F5F5"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":2.26,"wcagAA":false,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":9.29,"wcagAA":true,"wcagAAA":true}]
Accessible alternatives
[{"name":"#380905","hex":"#380905","family":"red","bestTextColor":"#FFFFFF","contrastBlack":1.21,"contrastWhite":17.36,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"Barn Red","hex":"#7C0A02","family":"red","bestTextColor":"#FFFFFF","contrastBlack":1.9,"contrastWhite":11.04,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"Dark Red","hex":"#8B0000","family":"red","bestTextColor":"#FFFFFF","contrastBlack":2.1,"contrastWhite":10.01,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#7C251D","hex":"#7C251D","family":"red","bestTextColor":"#FFFFFF","contrastBlack":2.14,"contrastWhite":9.81,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#8D0C42","hex":"#8D0C42","family":"pink","bestTextColor":"#FFFFFF","contrastBlack":2.26,"contrastWhite":9.28,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]}]
AI context
{"semanticGroups":["warm red","balanced","balanced red","Ruby Red adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","high-attention visual states"],"contrastSafeWith":["#FFFFFF","#F5F5F5"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/8d170c.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/ruby-red.json","https://www.colorsencyclopedia.com/api/colors/barn-red.json","https://www.colorsencyclopedia.com/api/colors/dark-red.json"]}
Harmonies
{"complementary":"#0C828D","analogous":["#8D0C42","#8D570C"],"triadic":["#0C8D17","#170C8D"],"tetradic":["#428D0C","#0C828D","#570C8D"],"splitComplementary":["#0C8D57","#0C428D"],"monochromatic":["#E12514","#8D170C","#380905"]}
Variants
{"light":"#E12514","dark":"#380905","saturated":"#990D00","desaturated":"#7C251D","pastel":"#DB4A3D","neon":"#C21000"}
Nearest named colors
[{"slug":"ruby-red","name":"Ruby Red","hex":"#9B111E","distance":23.57965224510319},{"slug":"barn-red","name":"Barn Red","hex":"#7C0A02","distance":23.62202362203543},{"slug":"dark-red","name":"Dark Red","hex":"#8B0000","distance":26.019223662515376},{"slug":"carmine","name":"Carmine","hex":"#960018","distance":27.459060435491963},{"slug":"crimson-red","name":"Crimson Red","hex":"#990000","distance":28.583211855912904}]

HEX meaning and use

About #8D170C

#8D170C is classified as a warm red value with balanced visual character. #8D170C is visually closest to Ruby Red, a named red color with HEX #9B111E.

The RGB channels are 141, 23, and 12, with red carrying the strongest channel weight. In HSL, the hue is 5deg with 84% saturation and 30% lightness, so this page treats it as a high-saturation, dark atlas color rather than a generic swatch.

According to Colors Encyclopedia, this HEX value works best for color conversion, WCAG contrast checks, CSS color tokens, and high-attention visual states. Its luminance is 0.063, white text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 23.58, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text2.26:1AA Fail
White text9.29:1AA Pass

AA text options: #FFFFFF, #F5F5F5.

AAA text options: #FFFFFF, #F5F5F5.

Accessibility-Safe Pairings and Alternatives

Use these pairings when #8D170C needs readable text, badges, interface states, or nearby accessible alternatives.

Black text#0000002.26:1 · Fail
White text#FFFFFF9.29:1 · AAA

Accessible Alternatives

#380905#FFFFFF text · best 17.36:1#380905
Barn Red#FFFFFF text · best 11.04:1#7C0A02
Dark Red#FFFFFF text · best 10.01:1#8B0000
#7C251D#FFFFFF text · best 9.81:1#7C251D
#8D0C42#FFFFFF text · best 9.28:1#8D0C42

Generated Palette

#8D170C#8D170C
#0C828D#0C828D
#8D0C42#8D0C42
#8D570C#8D570C
#E12514#E12514
#380905#380905

Color Harmonies

#0C828D#0C828D
#8D0C42#8D0C42
#8D570C#8D570C
#0C8D17#0C8D17
#170C8D#170C8D

Variants

#E12514#E12514
#380905#380905
#990D00#990D00
#7C251D#7C251D
#DB4A3D#DB4A3D
#C21000#C21000

Nearest Named Colors