HEX atlas value

#28231F

#28231F is a warm orange HEX color close to Raisin. According to Colors Encyclopedia, it converts to RGB 40, 35, 31, HSL 27, 13%, 14%, has luminance 0.0175, and belongs to the dark and earth tone groups.

#28231F Sample readable text
HEX #28231F
RGB rgb(40, 35, 31)
HSL hsl(27 13% 14%)
CMYK cmyk(0, 13, 22, 84)
Luminance 0.0175
Contrast Black 1.35:1White 15.56:1

CSS

--color-28231f: #28231F;
.background-28231f { background-color: #28231F; }
.text-28231f { color: #28231F; }

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.0175
Black text1.35:1AA Fail
White text15.56: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":"#28231F","rgb":[40,35,31],"hsl":[27,13,14],"cmyk":[0,13,22,84],"luminance":0.0175,"contrast":{"black":1.35,"white":15.56}}
WCAG
{"AA":["#FFFFFF","#F5F5F5"],"AAA":["#FFFFFF","#F5F5F5"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":1.35,"wcagAA":false,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":15.56,"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":"Carbon Fiber","hex":"#1C1C1C","family":"gray","bestTextColor":"#FFFFFF","contrastBlack":1.23,"contrastWhite":17.05,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#281F20","hex":"#281F20","family":"red","bestTextColor":"#FFFFFF","contrastBlack":1.31,"contrastWhite":16.06,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"Raisin","hex":"#242124","family":"gray","bestTextColor":"#FFFFFF","contrastBlack":1.32,"contrastWhite":15.93,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#1F2428","hex":"#1F2428","family":"blue","bestTextColor":"#FFFFFF","contrastBlack":1.34,"contrastWhite":15.65,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]}]
AI context
{"semanticGroups":["warm orange","dark","earth tone","dark orange","earth tone orange","Raisin adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","natural palettes","dark theme accents"],"contrastSafeWith":["#FFFFFF","#F5F5F5"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/28231f.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/slate-black.json"]}
Harmonies
{"complementary":"#1F2428","analogous":["#281F20","#28281F"],"triadic":["#1F2823","#231F28"],"tetradic":["#20281F","#1F2428","#281F28"],"splitComplementary":["#1F2828","#1F2028"],"monochromatic":["#5C5147","#28231F","#000000"]}
Variants
{"light":"#5C5147","dark":"#000000","saturated":"#302217","desaturated":"#242424","pastel":"#636363","neon":"#703200"}
Nearest named colors
[{"slug":"raisin","name":"Raisin","hex":"#242124","distance":6.708203932499369},{"slug":"rubber","name":"Rubber","hex":"#2A2725","distance":7.483314773547883},{"slug":"slate-black","name":"Slate Black","hex":"#26282A","distance":12.24744871391589},{"slug":"carbon-fiber","name":"Carbon Fiber","hex":"#1C1C1C","distance":14.212670403551895},{"slug":"asphalt","name":"Asphalt","hex":"#2B2B2B","distance":14.730919862656235}]

HEX meaning and use

About #28231F

#28231F is classified as a warm orange value with dark and earth tone visual character. #28231F is visually closest to Raisin, a named gray color with HEX #242124.

The RGB channels are 40, 35, and 31, with red carrying the strongest channel weight. In HSL, the hue is 27deg with 13% saturation and 14% lightness, so this page treats it as a low-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 natural palettes. Its luminance is 0.0175, white text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 6.71, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text1.35:1AA Fail
White text15.56:1AA Pass

AA text options: #FFFFFF, #F5F5F5.

AAA text options: #FFFFFF, #F5F5F5.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000001.35:1 · Fail
White text#FFFFFF15.56:1 · AAA

Accessible Alternatives

Black#FFFFFF text · best 21:1#000000
Carbon Fiber#FFFFFF text · best 17.05:1#1C1C1C
#281F20#FFFFFF text · best 16.06:1#281F20
Raisin#FFFFFF text · best 15.93:1#242124
#1F2428#FFFFFF text · best 15.65:1#1F2428

Generated Palette

#28231F#28231F
#1F2428#1F2428
#281F20#281F20
#28281F#28281F
#5C5147#5C5147
Black#000000

Color Harmonies

#1F2428#1F2428
#281F20#281F20
#28281F#28281F
#1F2823#1F2823
#231F28#231F28

Variants

#5C5147#5C5147
Black#000000
#302217#302217
#242424#242424
#636363#636363
#703200#703200

Nearest Named Colors