HEX atlas value

#311D17

#311D17 is a warm red HEX color close to Rubber. According to Colors Encyclopedia, it converts to RGB 49, 29, 23, HSL 14, 36%, 14%, has luminance 0.0159, and belongs to the dark group.

#311D17 Sample readable text
HEX #311D17
RGB rgb(49, 29, 23)
HSL hsl(14 36% 14%)
CMYK cmyk(0, 41, 53, 81)
Luminance 0.0159
Contrast Black 1.32:1White 15.93:1

CSS

--color-311d17: #311D17;
.background-311d17 { background-color: #311D17; }
.text-311d17 { color: #311D17; }

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.0159
Black text1.32:1AA Fail
White text15.93: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":"#311D17","rgb":[49,29,23],"hsl":[14,36,14],"cmyk":[0,41,53,81],"luminance":0.0159,"contrast":{"black":1.32,"white":15.93}}
WCAG
{"AA":["#FFFFFF","#F5F5F5"],"AAA":["#FFFFFF","#F5F5F5"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":1.32,"wcagAA":false,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":15.93,"wcagAA":true,"wcagAAA":true}]
Accessible alternatives
[{"name":"Black","hex":"#000000","family":"gray","bestTextColor":"#FFFFFF","contrastBlack":1,"contrastWhite":21,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"Matte Black","hex":"#1A1A1A","family":"gray","bestTextColor":"#FFFFFF","contrastBlack":1.21,"contrastWhite":17.41,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"Carbon Fiber","hex":"#1C1C1C","family":"gray","bestTextColor":"#FFFFFF","contrastBlack":1.23,"contrastWhite":17.05,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#31171E","hex":"#31171E","family":"pink","bestTextColor":"#FFFFFF","contrastBlack":1.27,"contrastWhite":16.51,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#38190F","hex":"#38190F","family":"orange","bestTextColor":"#FFFFFF","contrastBlack":1.31,"contrastWhite":15.98,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]}]
AI context
{"semanticGroups":["warm red","dark","dark red","Rubber adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","dark theme accents","high-attention visual states"],"contrastSafeWith":["#FFFFFF","#F5F5F5"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/311d17.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/rubber.json","https://www.colorsencyclopedia.com/api/colors/raisin.json","https://www.colorsencyclopedia.com/api/colors/carbon-fiber.json"]}
Harmonies
{"complementary":"#172B31","analogous":["#31171E","#312A17"],"triadic":["#17311D","#1D1731"],"tetradic":["#1E3117","#172B31","#2A1731"],"splitComplementary":["#17312A","#171E31"],"monochromatic":["#6F4234","#311D17","#000000"]}
Variants
{"light":"#6F4234","dark":"#000000","saturated":"#38190F","desaturated":"#29211F","pastel":"#78584F","neon":"#701A00"}
Nearest named colors
[{"slug":"rubber","name":"Rubber","hex":"#2A2725","distance":18.57417562100671},{"slug":"raisin","name":"Raisin","hex":"#242124","distance":18.81488772222678},{"slug":"carbon-fiber","name":"Carbon Fiber","hex":"#1C1C1C","distance":21.61018278497431},{"slug":"matte-black","name":"Matte Black","hex":"#1A1A1A","distance":23.388031127053},{"slug":"slate-black","name":"Slate Black","hex":"#26282A","distance":24.55605831561735}]

HEX meaning and use

About #311D17

#311D17 is classified as a warm red value with dark visual character. #311D17 is visually closest to Rubber, a named gray color with HEX #2A2725.

The RGB channels are 49, 29, and 23, with red carrying the strongest channel weight. In HSL, the hue is 14deg with 36% saturation and 14% lightness, so this page treats it as a moderate-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 dark theme accents. Its luminance is 0.0159, white text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 18.57, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text1.32:1AA Fail
White text15.93:1AA Pass

AA text options: #FFFFFF, #F5F5F5.

AAA text options: #FFFFFF, #F5F5F5.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000001.32:1 · Fail
White text#FFFFFF15.93:1 · AAA

Accessible Alternatives

Black#FFFFFF text · best 21:1#000000
Matte Black#FFFFFF text · best 17.41:1#1A1A1A
Carbon Fiber#FFFFFF text · best 17.05:1#1C1C1C
#31171E#FFFFFF text · best 16.51:1#31171E
#38190F#FFFFFF text · best 15.98:1#38190F

Generated Palette

#311D17#311D17
#172B31#172B31
#31171E#31171E
#312A17#312A17
#6F4234#6F4234
Black#000000

Color Harmonies

#172B31#172B31
#31171E#31171E
#312A17#312A17
#17311D#17311D
#1D1731#1D1731

Variants

#6F4234#6F4234
Black#000000
#38190F#38190F
#29211F#29211F
#78584F#78584F
#701A00#701A00

Nearest Named Colors