HEX atlas value

#311A17

#311A17 is a warm red HEX color close to Raisin. According to Colors Encyclopedia, it converts to RGB 49, 26, 23, HSL 7, 36%, 14%, has luminance 0.0145, and belongs to the dark group.

#311A17 Sample readable text
HEX #311A17
RGB rgb(49, 26, 23)
HSL hsl(7 36% 14%)
CMYK cmyk(0, 47, 53, 81)
Luminance 0.0145
Contrast Black 1.29:1White 16.28:1

CSS

--color-311a17: #311A17;
.background-311a17 { background-color: #311A17; }
.text-311a17 { color: #311A17; }

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.0145
Black text1.29:1AA Fail
White text16.28: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":"#311A17","rgb":[49,26,23],"hsl":[7,36,14],"cmyk":[0,47,53,81],"luminance":0.0145,"contrast":{"black":1.29,"white":16.28}}
WCAG
{"AA":["#FFFFFF","#F5F5F5"],"AAA":["#FFFFFF","#F5F5F5"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":1.29,"wcagAA":false,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":16.28,"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":"#38140F","hex":"#38140F","family":"red","bestTextColor":"#FFFFFF","contrastBlack":1.28,"contrastWhite":16.46,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#311721","hex":"#311721","family":"pink","bestTextColor":"#FFFFFF","contrastBlack":1.28,"contrastWhite":16.46,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]}]
AI context
{"semanticGroups":["warm red","dark","dark red","Raisin 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/311a17.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/raisin.json","https://www.colorsencyclopedia.com/api/colors/rubber.json","https://www.colorsencyclopedia.com/api/colors/carbon-fiber.json"]}
Harmonies
{"complementary":"#172E31","analogous":["#311721","#312717"],"triadic":["#17311A","#1A1731"],"tetradic":["#213117","#172E31","#271731"],"splitComplementary":["#173127","#172131"],"monochromatic":["#6F3B34","#311A17","#000000"]}
Variants
{"light":"#6F3B34","dark":"#000000","saturated":"#38140F","desaturated":"#29201F","pastel":"#78534F","neon":"#700D00"}
Nearest named colors
[{"slug":"raisin","name":"Raisin","hex":"#242124","distance":19.672315572906},{"slug":"rubber","name":"Rubber","hex":"#2A2725","distance":20.346989949375804},{"slug":"carbon-fiber","name":"Carbon Fiber","hex":"#1C1C1C","distance":21.6794833886788},{"slug":"matte-black","name":"Matte Black","hex":"#1A1A1A","distance":23.194827009486403},{"slug":"slate-black","name":"Slate Black","hex":"#26282A","distance":26.038433132583073}]

HEX meaning and use

About #311A17

#311A17 is classified as a warm red value with dark visual character. #311A17 is visually closest to Raisin, a named gray color with HEX #242124.

The RGB channels are 49, 26, and 23, with red carrying the strongest channel weight. In HSL, the hue is 7deg 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.0145, white text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 19.67, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text1.29:1AA Fail
White text16.28:1AA Pass

AA text options: #FFFFFF, #F5F5F5.

AAA text options: #FFFFFF, #F5F5F5.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000001.29:1 · Fail
White text#FFFFFF16.28: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
#38140F#FFFFFF text · best 16.46:1#38140F
#311721#FFFFFF text · best 16.46:1#311721

Generated Palette

#311A17#311A17
#172E31#172E31
#311721#311721
#312717#312717
#6F3B34#6F3B34
Black#000000

Color Harmonies

#172E31#172E31
#311721#311721
#312717#312717
#17311A#17311A
#1A1731#1A1731

Variants

#6F3B34#6F3B34
Black#000000
#38140F#38140F
#29201F#29201F
#78534F#78534F
#700D00#700D00

Nearest Named Colors