HEX atlas value

#5A1F02

#5A1F02 is a warm orange HEX color close to Oxblood. According to Colors Encyclopedia, it converts to RGB 90, 31, 2, HSL 20, 96%, 18%, has luminance 0.0316, and belongs to the dark group.

#5A1F02 Sample readable text
HEX #5A1F02
RGB rgb(90, 31, 2)
HSL hsl(20 96% 18%)
CMYK cmyk(0, 66, 98, 65)
Luminance 0.0316
Contrast Black 1.63:1White 12.87:1

CSS

--color-5a1f02: #5A1F02;
.background-5a1f02 { background-color: #5A1F02; }
.text-5a1f02 { color: #5A1F02; }

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.0316
Black text1.63:1AA Fail
White text12.87: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":"#5A1F02","rgb":[90,31,2],"hsl":[20,96,18],"cmyk":[0,66,98,65],"luminance":0.0316,"contrast":{"black":1.63,"white":12.87}}
WCAG
{"AA":["#FFFFFF","#F5F5F5"],"AAA":["#FFFFFF","#F5F5F5"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":1.63,"wcagAA":false,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":12.87,"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":"Oxblood","hex":"#4A0000","family":"red","bestTextColor":"#FFFFFF","contrastBlack":1.29,"contrastWhite":16.25,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#5A0211","hex":"#5A0211","family":"red","bestTextColor":"#FFFFFF","contrastBlack":1.45,"contrastWhite":14.46,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#50230C","hex":"#50230C","family":"orange","bestTextColor":"#FFFFFF","contrastBlack":1.59,"contrastWhite":13.24,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"Merlot","hex":"#541E2E","family":"pink","bestTextColor":"#FFFFFF","contrastBlack":1.6,"contrastWhite":13.11,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]}]
AI context
{"semanticGroups":["warm orange","dark","dark orange","Oxblood adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","dark theme accents"],"contrastSafeWith":["#FFFFFF","#F5F5F5"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/5a1f02.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/oxblood.json","https://www.colorsencyclopedia.com/api/colors/barn-red.json","https://www.colorsencyclopedia.com/api/colors/garnet-red.json"]}
Harmonies
{"complementary":"#023D5A","analogous":["#5A0211","#5A4B02"],"triadic":["#025A1F","#1F025A"],"tetradic":["#115A02","#023D5A","#4B025A"],"splitComplementary":["#025A4B","#02115A"],"monochromatic":["#B43E04","#5A1F02","#000000"]}
Variants
{"light":"#B43E04","dark":"#000000","saturated":"#5C1F00","desaturated":"#50230C","pastel":"#C65015","neon":"#852C00"}
Nearest named colors
[{"slug":"oxblood","name":"Oxblood","hex":"#4A0000","distance":34.942810419312295},{"slug":"barn-red","name":"Barn Red","hex":"#7C0A02","distance":39.96248240537617},{"slug":"garnet-red","name":"Garnet Red","hex":"#6E1F26","distance":41.182520563948},{"slug":"espresso","name":"Espresso","hex":"#4B3621","distance":41.41255848169731},{"slug":"merlot","name":"Merlot","hex":"#541E2E","distance":44.41846462902562}]

HEX meaning and use

About #5A1F02

#5A1F02 is classified as a warm orange value with dark visual character. #5A1F02 is visually closest to Oxblood, a named red color with HEX #4A0000.

The RGB channels are 90, 31, and 2, with red carrying the strongest channel weight. In HSL, the hue is 20deg with 96% saturation and 18% lightness, so this page treats it as a high-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.0316, white text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 34.94, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text1.63:1AA Fail
White text12.87:1AA Pass

AA text options: #FFFFFF, #F5F5F5.

AAA text options: #FFFFFF, #F5F5F5.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000001.63:1 · Fail
White text#FFFFFF12.87:1 · AAA

Accessible Alternatives

Black#FFFFFF text · best 21:1#000000
Oxblood#FFFFFF text · best 16.25:1#4A0000
#5A0211#FFFFFF text · best 14.46:1#5A0211
#50230C#FFFFFF text · best 13.24:1#50230C
Merlot#FFFFFF text · best 13.11:1#541E2E

Generated Palette

#5A1F02#5A1F02
#023D5A#023D5A
#5A0211#5A0211
#5A4B02#5A4B02
#B43E04#B43E04
Black#000000

Color Harmonies

#023D5A#023D5A
#5A0211#5A0211
#5A4B02#5A4B02
#025A1F#025A1F
#1F025A#1F025A

Variants

#B43E04#B43E04
Black#000000
#5C1F00#5C1F00
#50230C#50230C
#C65015#C65015
#852C00#852C00

Nearest Named Colors