HEX atlas value

#2A1F1D

#2A1F1D is a warm red HEX color close to Raisin. According to Colors Encyclopedia, it converts to RGB 42, 31, 29, HSL 9, 18%, 14%, has luminance 0.0156, and belongs to the dark group.

#2A1F1D Sample readable text
HEX #2A1F1D
RGB rgb(42, 31, 29)
HSL hsl(9 18% 14%)
CMYK cmyk(0, 26, 31, 84)
Luminance 0.0156
Contrast Black 1.31:1White 16.01:1

CSS

--color-2a1f1d: #2A1F1D;
.background-2a1f1d { background-color: #2A1F1D; }
.text-2a1f1d { color: #2A1F1D; }

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.0156
Black text1.31:1AA Fail
White text16.01: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":"#2A1F1D","rgb":[42,31,29],"hsl":[9,18,14],"cmyk":[0,26,31,84],"luminance":0.0156,"contrast":{"black":1.31,"white":16.01}}
WCAG
{"AA":["#FFFFFF","#F5F5F5"],"AAA":["#FFFFFF","#F5F5F5"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":1.31,"wcagAA":false,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":16.01,"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":"#321A15","hex":"#321A15","family":"red","bestTextColor":"#FFFFFF","contrastBlack":1.29,"contrastWhite":16.23,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#2A1D22","hex":"#2A1D22","family":"pink","bestTextColor":"#FFFFFF","contrastBlack":1.3,"contrastWhite":16.18,"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/2a1f1d.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":"#1D282A","analogous":["#2A1D22","#2A261D"],"triadic":["#1D2A1F","#1F1D2A"],"tetradic":["#222A1D","#1D282A","#261D2A"],"splitComplementary":["#1D2A26","#1D222A"],"monochromatic":["#604743","#2A1F1D","#000000"]}
Variants
{"light":"#604743","dark":"#000000","saturated":"#321A15","desaturated":"#242424","pastel":"#666160","neon":"#701100"}
Nearest named colors
[{"slug":"raisin","name":"Raisin","hex":"#242124","distance":9.433981132056603},{"slug":"rubber","name":"Rubber","hex":"#2A2725","distance":11.313708498984761},{"slug":"carbon-fiber","name":"Carbon Fiber","hex":"#1C1C1C","distance":14.352700094407323},{"slug":"slate-black","name":"Slate Black","hex":"#26282A","distance":16.30950643030009},{"slug":"matte-black","name":"Matte Black","hex":"#1A1A1A","distance":17.029386365926403}]

HEX meaning and use

About #2A1F1D

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

The RGB channels are 42, 31, and 29, with red carrying the strongest channel weight. In HSL, the hue is 9deg with 18% 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 dark theme accents. Its luminance is 0.0156, white text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 9.43, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text1.31:1AA Fail
White text16.01:1AA Pass

AA text options: #FFFFFF, #F5F5F5.

AAA text options: #FFFFFF, #F5F5F5.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000001.31:1 · Fail
White text#FFFFFF16.01: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
#321A15#FFFFFF text · best 16.23:1#321A15
#2A1D22#FFFFFF text · best 16.18:1#2A1D22

Generated Palette

#2A1F1D#2A1F1D
#1D282A#1D282A
#2A1D22#2A1D22
#2A261D#2A261D
#604743#604743
Black#000000

Color Harmonies

#1D282A#1D282A
#2A1D22#2A1D22
#2A261D#2A261D
#1D2A1F#1D2A1F
#1F1D2A#1F1D2A

Variants

#604743#604743
Black#000000
#321A15#321A15
#242424#242424
#666160#666160
#701100#701100

Nearest Named Colors