HEX atlas value

#0C0C0C

#0C0C0C is a neutral gray HEX color nearest Carbon Black. RGB 12, 12, 12, HSL 0° 0% 5%, luminance 0.0037; view contrast and conversions.

#0C0C0C Sample readable text
HEX #0C0C0C
RGB rgb(12, 12, 12)
HSL hsl(0 0% 5%)
CMYK cmyk(0, 0, 0, 95)
Luminance 0.0037
Contrast Black 1.07:1White 19.55:1

CSS

--color-0c0c0c: #0C0C0C;
.background-0c0c0c { background-color: #0C0C0C; }
.text-0c0c0c { color: #0C0C0C; }

HEX meaning and use

About #0C0C0C

#0C0C0C is classified as a neutral gray value with dark visual character. #0C0C0C is visually closest to Carbon Black, a named gray color with HEX #0C0C0C.

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

Practical uses for this HEX value include color conversion, WCAG contrast checks, CSS color tokens, and dark theme accents. Its luminance is 0.0037, white text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 0.00, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text1.07:1AA Fail
White text19.55:1AA Pass

AA text options: #FFFFFF, #F5F5F5.

AAA text options: #FFFFFF, #F5F5F5.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000001.07:1 · Fail
White text#FFFFFF19.55:1 · AAA

Accessible Alternatives

Generated Palette

Color Harmonies

Variants

Nearest Named Colors

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.0037
Black text1.07:1AA Fail
White text19.55: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":"#0C0C0C","rgb":[12,12,12],"hsl":[0,0,5],"cmyk":[0,0,0,95],"luminance":0.0037,"contrast":{"black":1.07,"white":19.55}}
WCAG
{"AA":["#FFFFFF","#F5F5F5"],"AAA":["#FFFFFF","#F5F5F5"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":1.07,"wcagAA":false,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":19.55,"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":"#100A0A","hex":"#100A0A","family":"red","bestTextColor":"#FFFFFF","contrastBlack":1.07,"contrastWhite":19.63,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#0D0D0D","hex":"#0D0D0D","family":"gray","bestTextColor":"#FFFFFF","contrastBlack":1.08,"contrastWhite":19.44,"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"]}]
AI context
{"semanticGroups":["neutral gray","dark","dark gray","Carbon Black adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","dark theme accents","neutral UI systems"],"contrastSafeWith":["#FFFFFF","#F5F5F5"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/0c0c0c.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/carbon-black.json","https://www.colorsencyclopedia.com/api/colors/black.json","https://www.colorsencyclopedia.com/api/colors/matte-black.json"]}
Harmonies
{"complementary":"#0D0D0D","analogous":["#0D0D0D","#0D0D0D"],"triadic":["#0D0D0D","#0D0D0D"],"tetradic":["#0D0D0D","#0D0D0D","#0D0D0D"],"splitComplementary":["#0D0D0D","#0D0D0D"],"monochromatic":["#3B3B3B","#0C0C0C","#000000"]}
Variants
{"light":"#3B3B3B","dark":"#000000","saturated":"#100A0A","desaturated":"#0D0D0D","pastel":"#4D4D4D","neon":"#420000"}
Nearest named colors
[{"slug":"carbon-black","name":"Carbon Black","hex":"#0C0C0C","distance":0},{"slug":"black","name":"Black","hex":"#000000","distance":20.784609690826528},{"slug":"matte-black","name":"Matte Black","hex":"#1A1A1A","distance":24.24871130596428},{"slug":"carbon-fiber","name":"Carbon Fiber","hex":"#1C1C1C","distance":27.712812921102035},{"slug":"raisin","name":"Raisin","hex":"#242124","distance":39.91240408695021}]